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.0009427/0.0009427, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001001/0.001001, allocations: 177 kB / 23.36 MB, free: 1.133 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.9297/0.9297, allocations: 177.1 MB / 203.8 MB, free: 5.473 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-545:108: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-545:116: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.8602/0.8602, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 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.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.533e-06/1.533e-06, allocations: 0 / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.386e-05, allocations: 2.312 kB / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.004476/0.0045, allocations: 2.948 MB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.00673, allocations: 1.141 MB / 484.1 MB, free: 2.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.006926, allocations: 7.938 kB / 484.1 MB, free: 2.867 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.007489, allocations: 119.2 kB / 484.2 MB, free: 2.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.00793, allocations: 203.9 kB / 484.4 MB, free: 2.551 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.008308, allocations: 157.5 kB / 484.5 MB, free: 2.398 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.008898, allocations: 490.2 kB / 485 MB, free: 1.918 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.009353, allocations: 289.3 kB / 485.3 MB, free: 1.637 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.009713, allocations: 275.4 kB / 485.6 MB, free: 1.367 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.01013, allocations: 192.9 kB / 485.8 MB, free: 1.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.01019, allocations: 30.78 kB / 485.8 MB, free: 1.152 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.01041, allocations: 95.8 kB / 485.9 MB, free: 1.059 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.01055, allocations: 139.6 kB / 486 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.0107, allocations: 119.7 kB / 486.1 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.01119, allocations: 330.9 kB / 486.5 MB, free: 492 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.0112, allocations: 3.938 kB / 486.5 MB, free: 488 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0112, allocations: 0 / 486.5 MB, free: 488 kB / 442.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.0112, allocations: 1.031 kB / 486.5 MB, free: 488 kB / 442.7 MB 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.0008539/0.01206, allocations: 0.52 MB / 487 MB, free: 15.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.0121, allocations: 12.03 kB / 487 MB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008405/0.01294, allocations: 169.9 kB / 487.2 MB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.01325, allocations: 219.1 kB / 487.4 MB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.01328, allocations: 21.66 kB / 487.4 MB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.01333, allocations: 29.45 kB / 487.4 MB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.01378, allocations: 431.9 kB / 487.8 MB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.0138, allocations: 5 kB / 487.8 MB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.01383, allocations: 12.38 kB / 487.9 MB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/0.01388, allocations: 36.58 kB / 487.9 MB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.01408, allocations: 102.2 kB / 488 MB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.01549, allocations: 1.318 MB / 489.3 MB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.0157, allocations: 93.91 kB / 489.4 MB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.01584, allocations: 61.94 kB / 489.5 MB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.01584, allocations: 0 / 489.5 MB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.01587, allocations: 35.66 kB / 489.5 MB, free: 13.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.01587, allocations: 0 / 489.5 MB, free: 13.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003495/0.01622, allocations: 131.2 kB / 489.6 MB, free: 13.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.01625, allocations: 55.41 kB / 489.7 MB, free: 13.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.01642, allocations: 219.3 kB / 489.9 MB, free: 12.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.01644, allocations: 25.7 kB / 489.9 MB, free: 12.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.01655, allocations: 216.7 kB / 490.1 MB, free: 12.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.01658, allocations: 43.64 kB / 490.2 MB, free: 12.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.01666, allocations: 54.55 kB / 490.2 MB, free: 12.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.01676, allocations: 330.8 kB / 490.6 MB, free: 12.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.0168, allocations: 21.77 kB / 490.6 MB, free: 12.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-05/0.0169, allocations: 100 kB / 490.7 MB, free: 12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.01708, allocations: 156.6 kB / 490.8 MB, free: 11.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01709, allocations: 0 / 490.8 MB, free: 11.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002932/0.01738, allocations: 172.5 kB / 491 MB, free: 11.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.0174, allocations: 4.719 kB / 491 MB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01741, allocations: 4 kB / 491 MB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.01767, allocations: 39.58 kB / 491 MB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.01784, allocations: 43.98 kB / 491.1 MB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006962/0.01853, allocations: 1.194 MB / 492.3 MB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.01867, allocations: 31.77 kB / 492.3 MB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.01868, allocations: 7.938 kB / 492.3 MB, free: 10.22 MB / 458.7 MB 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.0001092/0.01879, allocations: 130.2 kB / 492.4 MB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.01882, allocations: 11.98 kB / 492.5 MB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.01884, allocations: 31.27 kB / 492.5 MB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.01884, allocations: 0 / 492.5 MB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01885, allocations: 0 / 492.5 MB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.01885, allocations: 0 / 492.5 MB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.01933, allocations: 0.5816 MB / 493.1 MB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.01934, allocations: 10.34 kB / 493.1 MB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.01938, allocations: 23.92 kB / 493.1 MB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.01948, allocations: 33.45 kB / 493.1 MB, free: 9.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.01949, allocations: 4 kB / 493.1 MB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004996/0.01999, allocations: 1.182 MB / 494.3 MB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01999, allocations: 4.656 kB / 494.3 MB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.02016, allocations: 295.6 kB / 494.6 MB, free: 7.727 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.0202, allocations: 28.88 kB / 494.6 MB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.02021, allocations: 4 kB / 494.6 MB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.02029, allocations: 13.09 kB / 494.7 MB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.02031, allocations: 23.84 kB / 494.7 MB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.02032, allocations: 4 kB / 494.7 MB, free: 7.656 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.317e-05/0.02037, allocations: 71.91 kB / 494.8 MB, free: 7.586 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02037, allocations: 0 / 494.8 MB, free: 7.586 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000241/0.02061, allocations: 80.5 kB / 494.8 MB, free: 7.508 MB / 458.7 MB 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 9.049e-05/0.0207, allocations: 82.14 kB / 494.9 MB, free: 7.418 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.02093, allocations: 209.4 kB / 495.1 MB, free: 7.199 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.02094, allocations: 3.938 kB / 495.1 MB, free: 7.195 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.02103, allocations: 173.1 kB / 495.3 MB, free: 7.012 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.02127, allocations: 58.56 kB / 495.3 MB, free: 6.961 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.02199, allocations: 0.5369 MB / 495.9 MB, free: 6.379 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.466e-05/0.02206, allocations: 112.3 kB / 496 MB, free: 6.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.02212, allocations: 22.7 kB / 496 MB, free: 6.234 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.02223, allocations: 100.2 kB / 496.1 MB, free: 6.137 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02223, allocations: 0 / 496.1 MB, free: 6.137 MB / 458.7 MB Notification: Performance of Templates: time 0.004845/0.02708, allocations: 2.611 MB / 498.7 MB, free: 3.723 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.593222079798579]