Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007184/0.0007184, allocations: 76.45 kB / 19.91 MB, free: 12 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007343/0.0007343, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8375/0.8375, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6853/0.6853, allocations: 154.7 MB / 414.7 MB, free: 0.7539 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.89 kB / 0.6195 GB, free: 13.13 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4334, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003589/0.437, allocations: 3.162 MB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.4386, allocations: 1.396 MB / 0.7235 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.4387, allocations: 9.156 kB / 0.7235 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.4394, allocations: 333.1 kB / 0.7238 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.4397, allocations: 154.6 kB / 0.724 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.44, allocations: 164.3 kB / 0.7242 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.4403, allocations: 338.8 kB / 0.7245 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.4406, allocations: 201.9 kB / 0.7247 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.4409, allocations: 202.6 kB / 0.7249 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.4411, allocations: 144.2 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.4411, allocations: 22.98 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.4413, allocations: 153.6 kB / 0.7252 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.4414, allocations: 88.8 kB / 0.7253 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.975e-05/0.4415, allocations: 108.6 kB / 0.7254 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.4419, allocations: 385.5 kB / 0.7257 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4419, allocations: 0.6094 kB / 0.7257 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4419, allocations: 0 / 0.7257 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4419, allocations: 1.094 kB / 0.7257 GB, free: 19.65 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000634/0.4425, allocations: 491.4 kB / 0.7262 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4426, allocations: 9.438 kB / 0.7262 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.443, allocations: 93.62 kB / 0.7263 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.4432, allocations: 204.2 kB / 0.7265 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4432, allocations: 17.38 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.4432, allocations: 17.34 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.4436, allocations: 399.4 kB / 0.7269 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4437, allocations: 4.969 kB / 0.7269 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.4437, allocations: 11 kB / 0.7269 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.4437, allocations: 15.47 kB / 0.7269 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.444, allocations: 215.5 kB / 0.7271 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.4448, allocations: 1.023 MB / 0.7281 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.4451, allocations: 113.8 kB / 0.7282 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.4452, allocations: 42.08 kB / 0.7283 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.4452, allocations: 5.094 kB / 0.7283 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.4452, allocations: 32.62 kB / 0.7283 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.4452, allocations: 0 / 0.7283 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003759/0.4456, allocations: 188.9 kB / 0.7285 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.4456, allocations: 53.41 kB / 0.7286 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.4457, allocations: 204.4 kB / 0.7287 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.4458, allocations: 27.5 kB / 0.7288 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.4458, allocations: 182.1 kB / 0.7289 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.4458, allocations: 29.78 kB / 0.729 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.4459, allocations: 40.98 kB / 0.729 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.4459, allocations: 331.7 kB / 0.7293 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.446, allocations: 42.73 kB / 0.7294 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.19e-05/0.4461, allocations: 114.3 kB / 0.7295 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.4462, allocations: 161.1 kB / 0.7296 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4462, allocations: 9.344 kB / 0.7296 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002394/0.4465, allocations: 212 kB / 0.7298 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4465, allocations: 7.203 kB / 0.7299 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4465, allocations: 6.406 kB / 0.7299 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.4466, allocations: 26.77 kB / 0.7299 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.4467, allocations: 38.14 kB / 0.7299 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005528/0.4472, allocations: 1.29 MB / 0.7312 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.4473, allocations: 28.02 kB / 0.7312 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.4473, allocations: 9.719 kB / 0.7312 GB, free: 15.26 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.4474, allocations: 153.5 kB / 0.7314 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4474, allocations: 19.97 kB / 0.7314 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.4475, allocations: 19.47 kB / 0.7314 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4475, allocations: 1.766 kB / 0.7314 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.4475, allocations: 0 / 0.7314 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4475, allocations: 1.812 kB / 0.7314 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.4478, allocations: 405.8 kB / 0.7318 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4478, allocations: 1.75 kB / 0.7318 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.4479, allocations: 14.45 kB / 0.7318 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.983e-05/0.4479, allocations: 28.25 kB / 0.7318 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.4479, allocations: 1.891 kB / 0.7318 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004516/0.4484, allocations: 1.295 MB / 0.7331 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4484, allocations: 1.094 kB / 0.7331 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.4486, allocations: 234.7 kB / 0.7333 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.4486, allocations: 33.69 kB / 0.7334 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.4486, allocations: 1.906 kB / 0.7334 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.4487, allocations: 9.562 kB / 0.7334 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.4487, allocations: 6.562 kB / 0.7334 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.4487, allocations: 1.781 kB / 0.7334 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.367e-05/0.4488, allocations: 146.5 kB / 0.7335 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4488, allocations: 0 / 0.7335 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002284/0.449, allocations: 55.55 kB / 0.7336 GB, free: 13.21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.563e-05/0.4491, allocations: 99.7 kB / 0.7337 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.4494, allocations: 226.9 kB / 0.7339 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4494, allocations: 0 / 0.7339 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.282e-05/0.4495, allocations: 166.5 kB / 0.734 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.4497, allocations: 43.83 kB / 0.7341 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.4502, allocations: 434 kB / 0.7345 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.4504, allocations: 147.8 kB / 0.7346 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.4504, allocations: 17.55 kB / 0.7347 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4504, allocations: 3.938 kB / 0.7347 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.004868/0.4553, allocations: 3.307 MB / 0.7379 GB, free: 12.17 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.037585783051327] Failed to read output from testmodel.py, exit status != 0: 0.46167160011827946 0.469824336 0.025873692 Calling exit ...