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.001166/0.001166, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001888/0.003055, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001062/0.001062, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002616, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08882/1.109, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.7627/0.7627, allocations: 154.6 MB / 398.8 MB, free: 372 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2853/1.048, allocations: 49.05 MB / 447.8 MB, free: 6.59 MB / 426.7 MB " [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.904e-06/1.904e-06, allocations: 0 / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.985e-05, allocations: 4.422 kB / 449.1 MB, free: 5.301 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.004554/0.004584, allocations: 3.041 MB / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.006385, allocations: 1.173 MB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.006563, allocations: 11.94 kB / 453.4 MB, free: 1.133 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.006987, allocations: 132.1 kB / 453.5 MB, free: 1.004 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.007336, allocations: 236.6 kB / 453.7 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.00765, allocations: 157.2 kB / 453.9 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004993/0.008149, allocations: 0.5216 MB / 454.4 MB, free: 100 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.008513, allocations: 276.2 kB / 454.7 MB, free: 15.82 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.008858, allocations: 311.6 kB / 455 MB, free: 15.52 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.009216, allocations: 214.9 kB / 455.2 MB, free: 15.31 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.009252, allocations: 28 kB / 455.2 MB, free: 15.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.009463, allocations: 99.73 kB / 455.3 MB, free: 15.19 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.009564, allocations: 119.7 kB / 455.4 MB, free: 15.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.704e-05/0.009651, allocations: 104.3 kB / 455.5 MB, free: 14.97 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.009991, allocations: 300.4 kB / 455.8 MB, free: 14.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.01, allocations: 0 / 455.8 MB, free: 14.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01, allocations: 0 / 455.8 MB, free: 14.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.01002, allocations: 3.984 kB / 455.8 MB, free: 14.67 MB / 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.0009671/0.01099, allocations: 0.6005 MB / 456.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.01102, allocations: 8.938 kB / 456.4 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.01161, allocations: 257.3 kB / 456.7 MB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.01186, allocations: 221.2 kB / 456.9 MB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.01188, allocations: 21.03 kB / 456.9 MB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.01191, allocations: 36.36 kB / 457 MB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.01223, allocations: 424.1 kB / 457.4 MB, free: 13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01224, allocations: 192 / 457.4 MB, free: 13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.01226, allocations: 13.25 kB / 457.4 MB, free: 12.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.009e-05/0.0123, allocations: 37.59 kB / 457.4 MB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.01243, allocations: 98.52 kB / 457.5 MB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01343, allocations: 1.325 MB / 458.8 MB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.0136, allocations: 98.95 kB / 458.9 MB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.01368, allocations: 48.83 kB / 459 MB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.01369, allocations: 4.5 kB / 459 MB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.01371, allocations: 39.72 kB / 459 MB, free: 11.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.01371, allocations: 0 / 459 MB, free: 11.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002516/0.01397, allocations: 123.1 kB / 459.1 MB, free: 11.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.01399, allocations: 52.31 kB / 459.2 MB, free: 11.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.01411, allocations: 223.3 kB / 459.4 MB, free: 10.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.01413, allocations: 26.7 kB / 459.4 MB, free: 10.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.01421, allocations: 208.1 kB / 459.6 MB, free: 10.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.01423, allocations: 51.56 kB / 459.7 MB, free: 10.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.01428, allocations: 50.5 kB / 459.7 MB, free: 10.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.01437, allocations: 332.1 kB / 460.1 MB, free: 10.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.0144, allocations: 16.45 kB / 460.1 MB, free: 10.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.01446, allocations: 104 kB / 460.2 MB, free: 10.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.01458, allocations: 168.5 kB / 460.3 MB, free: 9.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01458, allocations: 0 / 460.3 MB, free: 9.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000177/0.01476, allocations: 164.9 kB / 460.5 MB, free: 9.652 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01477, allocations: 11.98 kB / 460.5 MB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01478, allocations: 9.984 kB / 460.5 MB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.01493, allocations: 40.41 kB / 460.6 MB, free: 9.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01504, allocations: 55.91 kB / 460.6 MB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006068/0.01565, allocations: 1.189 MB / 461.8 MB, free: 8.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.01573, allocations: 24.72 kB / 461.8 MB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.01574, allocations: 15.94 kB / 461.9 MB, free: 8.215 MB / 442.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 7.455e-05/0.01582, allocations: 126 kB / 462 MB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.01584, allocations: 19.97 kB / 462 MB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.01587, allocations: 22.09 kB / 462 MB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01587, allocations: 0 / 462 MB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01587, allocations: 4.719 kB / 462 MB, free: 8.039 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01588, allocations: 3.984 kB / 462 MB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.01632, allocations: 0.5744 MB / 462.6 MB, free: 7.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01633, allocations: 6.219 kB / 462.6 MB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.01638, allocations: 27.92 kB / 462.6 MB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.01642, allocations: 23.91 kB / 462.7 MB, free: 7.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-05/0.0165, allocations: 34.58 kB / 462.7 MB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.01651, allocations: 4 kB / 462.7 MB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007665/0.01728, allocations: 1.188 MB / 463.9 MB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.01728, allocations: 7.984 kB / 463.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.01743, allocations: 291.6 kB / 464.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.01745, allocations: 4 kB / 464.2 MB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.01752, allocations: 14.03 kB / 464.2 MB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.01754, allocations: 19.84 kB / 464.2 MB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.01755, allocations: 12 kB / 464.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.672e-05/0.0176, allocations: 59.42 kB / 464.3 MB, free: 5.598 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0176, allocations: 1.031 kB / 464.3 MB, free: 5.598 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01781, allocations: 83.8 kB / 464.4 MB, free: 5.516 MB / 442.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 8.402e-05/0.0179, allocations: 88.12 kB / 464.5 MB, free: 5.422 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.01812, allocations: 214.9 kB / 464.7 MB, free: 5.199 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.01813, allocations: 4 kB / 464.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01826, allocations: 240.4 kB / 464.9 MB, free: 4.941 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.01861, allocations: 420.4 kB / 465.3 MB, free: 4.457 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.02055, allocations: 0.5593 MB / 465.9 MB, free: 3.852 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.262e-05/0.02061, allocations: 104.3 kB / 466 MB, free: 3.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.222e-05/0.02068, allocations: 22.03 kB / 466 MB, free: 3.711 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.02079, allocations: 95.97 kB / 466.1 MB, free: 3.617 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02079, allocations: 0.9062 kB / 466.1 MB, free: 3.617 MB / 442.7 MB Notification: Performance of Templates: time 0.004514/0.0253, allocations: 2.728 MB / 468.8 MB, free: 1.094 MB / 442.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.5837836964055896]