Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001337/0.001337, allocations: 80.69 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.001642/0.001642, allocations: 159.7 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.433/1.433, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.201/1.201, allocations: 154.6 MB / 413.8 MB, free: 5.223 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.6185 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.607e-05, allocations: 4.094 kB / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005493/0.005519, allocations: 3.74 MB / 0.6222 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002881/0.0084, allocations: 1.694 MB / 0.6239 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.008539, allocations: 7.938 kB / 0.6239 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.00997, allocations: 493 kB / 0.6243 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.01044, allocations: 238.5 kB / 0.6246 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.01093, allocations: 215.3 kB / 0.6248 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.01148, allocations: 490.2 kB / 0.6252 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004972/0.01198, allocations: 289.4 kB / 0.6255 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.0123, allocations: 275.4 kB / 0.6258 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.0127, allocations: 199.4 kB / 0.626 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.01276, allocations: 28 kB / 0.626 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.01314, allocations: 223.3 kB / 0.6262 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.01328, allocations: 139.6 kB / 0.6263 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.01343, allocations: 123.7 kB / 0.6265 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006203/0.01405, allocations: 0.5101 MB / 0.627 GB, free: 11.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01406, allocations: 0 / 0.627 GB, free: 11.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01406, allocations: 4 kB / 0.627 GB, free: 11.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.01406, allocations: 0 / 0.627 GB, free: 11.96 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001114/0.01518, allocations: 0.5596 MB / 0.6275 GB, free: 11.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.01521, allocations: 12.03 kB / 0.6275 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/0.01619, allocations: 136.6 kB / 0.6276 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.01659, allocations: 233.2 kB / 0.6279 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.01661, allocations: 21.03 kB / 0.6279 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.01666, allocations: 32.31 kB / 0.6279 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007913/0.01745, allocations: 0.5787 MB / 0.6285 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.01747, allocations: 192 / 0.6285 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.01751, allocations: 16.38 kB / 0.6285 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/0.01756, allocations: 32.56 kB / 0.6285 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.01813, allocations: 318.3 kB / 0.6288 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.02022, allocations: 1.521 MB / 0.6303 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.02056, allocations: 154.7 kB / 0.6305 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.02081, allocations: 97.14 kB / 0.6306 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.02082, allocations: 3.938 kB / 0.6306 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.02085, allocations: 50.44 kB / 0.6306 GB, free: 8.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.02085, allocations: 0 / 0.6306 GB, free: 8.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.000612/0.02146, allocations: 218.3 kB / 0.6308 GB, free: 7.781 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.02151, allocations: 55.41 kB / 0.6309 GB, free: 7.715 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.02179, allocations: 228 kB / 0.6311 GB, free: 7.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.02182, allocations: 33.7 kB / 0.6311 GB, free: 7.445 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.02198, allocations: 208.2 kB / 0.6313 GB, free: 7.238 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.02203, allocations: 55.58 kB / 0.6314 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.02211, allocations: 49.84 kB / 0.6314 GB, free: 7.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.02228, allocations: 330.8 kB / 0.6317 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.02239, allocations: 60.44 kB / 0.6318 GB, free: 6.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.02256, allocations: 140.7 kB / 0.6319 GB, free: 6.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.02289, allocations: 221.3 kB / 0.6321 GB, free: 6.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.02289, allocations: 4 kB / 0.6321 GB, free: 6.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004627/0.02335, allocations: 258.4 kB / 0.6324 GB, free: 6.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.02338, allocations: 10.17 kB / 0.6324 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.02338, allocations: 4 kB / 0.6324 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.02354, allocations: 24.78 kB / 0.6324 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.02373, allocations: 51.92 kB / 0.6325 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.02491, allocations: 1.296 MB / 0.6337 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.02506, allocations: 23.84 kB / 0.6338 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.02508, allocations: 12 kB / 0.6338 GB, free: 4.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001869/0.02527, allocations: 167.5 kB / 0.6339 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.02532, allocations: 23.86 kB / 0.634 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.02538, allocations: 25.45 kB / 0.634 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.02538, allocations: 3.938 kB / 0.634 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.02538, allocations: 64 / 0.634 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.02539, allocations: 8 kB / 0.634 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008818/0.02627, allocations: 0.5507 MB / 0.6345 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.02628, allocations: 11.92 kB / 0.6345 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.213e-05/0.02637, allocations: 19.94 kB / 0.6346 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.633e-05/0.02646, allocations: 28.83 kB / 0.6346 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.02647, allocations: 4 kB / 0.6346 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.02764, allocations: 1.3 MB / 0.6359 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.02764, allocations: 0 / 0.6359 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.02801, allocations: 308.2 kB / 0.6362 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.02809, allocations: 39.77 kB / 0.6362 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.02812, allocations: 4 kB / 0.6362 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.02828, allocations: 20.14 kB / 0.6362 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.02832, allocations: 11.92 kB / 0.6362 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.02834, allocations: 12 kB / 0.6362 GB, free: 1.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001589/0.0285, allocations: 157.6 kB / 0.6364 GB, free: 1.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.0285, allocations: 0 / 0.6364 GB, free: 1.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004058/0.0289, allocations: 83.8 kB / 0.6365 GB, free: 1.555 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0001247/0.02903, allocations: 103.2 kB / 0.6366 GB, free: 1.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.02949, allocations: 262.4 kB / 0.6368 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.0295, allocations: 0 / 0.6368 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.02973, allocations: 182.5 kB / 0.637 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.03019, allocations: 63.8 kB / 0.6371 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.03114, allocations: 0.5226 MB / 0.6376 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.03135, allocations: 190.1 kB / 0.6377 GB, free: 160 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.03147, allocations: 41.91 kB / 0.6378 GB, free: 116 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.03152, allocations: 20.5 kB / 0.6378 GB, free: 96 kB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.03152, allocations: 3.938 kB / 0.6378 GB, free: 92 kB / 0.545 GB Notification: Performance of Templates: time 0.006501/0.03802, allocations: 2.417 MB / 0.6402 GB, free: 13.75 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.713738165795803] Failed to read output from testmodel.py, exit status != 0: 0.046362318098545074 0.061621560000000006 0.044357419 Calling exit ...