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.001248/0.001248, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001409/0.001409, allocations: 165.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.209/1.209, allocations: 154.6 MB / 413.8 MB, free: 5.203 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.277e-05, allocations: 3 kB / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.005242/0.005265, allocations: 3.167 MB / 0.6216 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.007809, allocations: 1.375 MB / 0.623 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.007922, allocations: 7.938 kB / 0.623 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.009084, allocations: 338.5 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.009464, allocations: 159 kB / 0.6235 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.009868, allocations: 167.5 kB / 0.6236 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.01029, allocations: 342.7 kB / 0.624 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.0107, allocations: 204 kB / 0.6242 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.01102, allocations: 195.5 kB / 0.6243 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.0114, allocations: 135.6 kB / 0.6245 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.01144, allocations: 23.94 kB / 0.6245 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.01173, allocations: 159.6 kB / 0.6246 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.01189, allocations: 83.73 kB / 0.6247 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.01201, allocations: 91.83 kB / 0.6248 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.01262, allocations: 374.8 kB / 0.6252 GB, free: 13.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01262, allocations: 0 / 0.6252 GB, free: 13.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.92e-07/0.01262, allocations: 3.938 kB / 0.6252 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.01262, allocations: 0 / 0.6252 GB, free: 13.8 MB / 0.545 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.0009244/0.01355, allocations: 481.4 kB / 0.6256 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.01358, allocations: 8.031 kB / 0.6256 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006925/0.01427, allocations: 96.66 kB / 0.6257 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.01461, allocations: 198.8 kB / 0.6259 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.01463, allocations: 12.88 kB / 0.6259 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.01467, allocations: 20.38 kB / 0.626 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.01526, allocations: 394.8 kB / 0.6263 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.01528, allocations: 4.188 kB / 0.6263 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.0153, allocations: 12.38 kB / 0.6263 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.01544, allocations: 24.42 kB / 0.6264 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.01585, allocations: 221.7 kB / 0.6266 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.01766, allocations: 1.004 MB / 0.6276 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.01807, allocations: 118.6 kB / 0.6277 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.01817, allocations: 40.84 kB / 0.6277 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.01818, allocations: 3.938 kB / 0.6277 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.01822, allocations: 34.56 kB / 0.6277 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.01822, allocations: 0 / 0.6277 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005712/0.01879, allocations: 194.3 kB / 0.6279 GB, free: 10.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.01883, allocations: 51.41 kB / 0.628 GB, free: 10.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.01904, allocations: 200.9 kB / 0.6282 GB, free: 10.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.01907, allocations: 25.7 kB / 0.6282 GB, free: 10.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.01919, allocations: 184 kB / 0.6284 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.01922, allocations: 35.73 kB / 0.6284 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.01929, allocations: 37.67 kB / 0.6284 GB, free: 10.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.01944, allocations: 326.8 kB / 0.6288 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.01954, allocations: 43.98 kB / 0.6288 GB, free: 9.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.0197, allocations: 122.1 kB / 0.6289 GB, free: 9.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.01996, allocations: 164.4 kB / 0.6291 GB, free: 9.504 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01996, allocations: 4 kB / 0.6291 GB, free: 9.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003974/0.02036, allocations: 210.1 kB / 0.6293 GB, free: 9.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.02037, allocations: 4 kB / 0.6293 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.02038, allocations: 4 kB / 0.6293 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.02053, allocations: 25.12 kB / 0.6293 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.02068, allocations: 43.86 kB / 0.6293 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.02204, allocations: 1.295 MB / 0.6306 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.02218, allocations: 15.92 kB / 0.6306 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.0222, allocations: 12 kB / 0.6306 GB, free: 7.781 MB / 0.545 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 0.000152/0.02235, allocations: 151.8 kB / 0.6308 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.0224, allocations: 19.89 kB / 0.6308 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.02243, allocations: 21.41 kB / 0.6308 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.02244, allocations: 3.984 kB / 0.6308 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.02244, allocations: 0 / 0.6308 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.02244, allocations: 0 / 0.6308 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.02305, allocations: 414.8 kB / 0.6312 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.02305, allocations: 64 / 0.6312 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.02312, allocations: 12 kB / 0.6312 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.649e-05/0.02321, allocations: 28.84 kB / 0.6313 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.02321, allocations: 0 / 0.6313 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.02429, allocations: 1.287 MB / 0.6325 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.02429, allocations: 3.938 kB / 0.6325 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.02462, allocations: 236.2 kB / 0.6327 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.02468, allocations: 28.05 kB / 0.6328 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.02471, allocations: 4.031 kB / 0.6328 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.02485, allocations: 11.92 kB / 0.6328 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.02489, allocations: 8 kB / 0.6328 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.0249, allocations: 3.984 kB / 0.6328 GB, free: 5.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001336/0.02503, allocations: 144 kB / 0.6329 GB, free: 5.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.02503, allocations: 0 / 0.6329 GB, free: 5.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00034/0.02537, allocations: 59.84 kB / 0.633 GB, free: 5.199 MB / 0.545 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 0.0001766/0.02555, allocations: 104.2 kB / 0.6331 GB, free: 5.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005363/0.02608, allocations: 227 kB / 0.6333 GB, free: 4.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.02609, allocations: 4 kB / 0.6333 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.02631, allocations: 150.7 kB / 0.6335 GB, free: 4.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.02667, allocations: 36.67 kB / 0.6335 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.02737, allocations: 386.5 kB / 0.6339 GB, free: 4.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.02752, allocations: 152.2 kB / 0.634 GB, free: 4.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.734e-05/0.02762, allocations: 25.47 kB / 0.634 GB, free: 4.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.02775, allocations: 24.48 kB / 0.6341 GB, free: 4.031 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.02776, allocations: 3.938 kB / 0.6341 GB, free: 4.027 MB / 0.545 GB Notification: Performance of Templates: time 0.005412/0.03317, allocations: 1.838 MB / 0.6359 GB, free: 2.254 MB / 0.545 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: 5.640657510608435] Failed to read output from testmodel.py, exit status != 0: 0.04224186763167381 0.056939979 0.041155513000000005 Calling exit ...