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.0008059/0.0008059, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009032/0.0009032, allocations: 173 kB / 23.03 MB, free: 1.547 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.9141/0.9141, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.7342/0.7342, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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.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.573e-06/1.573e-06, allocations: 0 / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.29e-05, allocations: 4.922 kB / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003514/0.003547, allocations: 2.959 MB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.005211, allocations: 1.111 MB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.005377, allocations: 11.94 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.005869, allocations: 124.9 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.006248, allocations: 204.7 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.006553, allocations: 152.3 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.007001, allocations: 494.2 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.007418, allocations: 294.5 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.007679, allocations: 275.4 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.008018, allocations: 196.6 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.008058, allocations: 28 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.008243, allocations: 106.2 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.008344, allocations: 135.6 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.00844, allocations: 127.7 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.008824, allocations: 322.9 kB / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.008828, allocations: 0 / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.412e-06/0.008829, allocations: 0 / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.008836, allocations: 0 / 0.5266 GB, free: 11.74 MB / 0.4948 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.0006705/0.009507, allocations: 0.6417 MB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.009542, allocations: 20.44 kB / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007038/0.01025, allocations: 202.5 kB / 0.5275 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.01052, allocations: 237.7 kB / 0.5277 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01053, allocations: 25.02 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.01056, allocations: 29.94 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.01096, allocations: 460.9 kB / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01097, allocations: 4.188 kB / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.011, allocations: 12.38 kB / 0.5282 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.01103, allocations: 37.72 kB / 0.5282 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.01122, allocations: 136.4 kB / 0.5284 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.01244, allocations: 1.917 MB / 0.5302 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.01264, allocations: 111.2 kB / 0.5303 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.01277, allocations: 75.64 kB / 0.5304 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.01277, allocations: 0 / 0.5304 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.0128, allocations: 41.33 kB / 0.5305 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.0128, allocations: 0 / 0.5305 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003235/0.01312, allocations: 166 kB / 0.5306 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.01315, allocations: 55.41 kB / 0.5307 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.0133, allocations: 277.9 kB / 0.5309 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.01331, allocations: 25.7 kB / 0.531 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.0134, allocations: 258.9 kB / 0.5312 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.01343, allocations: 55.53 kB / 0.5313 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.01349, allocations: 55.55 kB / 0.5313 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01359, allocations: 0.4962 MB / 0.5318 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.01363, allocations: 28.52 kB / 0.5318 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.01372, allocations: 152.8 kB / 0.532 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.01386, allocations: 190.2 kB / 0.5322 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01387, allocations: 4 kB / 0.5322 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002225/0.01409, allocations: 219.9 kB / 0.5324 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.0141, allocations: 4 kB / 0.5324 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01411, allocations: 10.38 kB / 0.5324 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.01428, allocations: 35.66 kB / 0.5324 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01438, allocations: 49.69 kB / 0.5325 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00072/0.0151, allocations: 1.745 MB / 0.5342 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.0152, allocations: 23.84 kB / 0.5342 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01521, allocations: 11.98 kB / 0.5342 GB, free: 3.469 MB / 0.4948 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.0002655/0.01547, allocations: 177.6 kB / 0.5344 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.0155, allocations: 20.53 kB / 0.5344 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.01552, allocations: 25.45 kB / 0.5344 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01552, allocations: 4.625 kB / 0.5344 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01552, allocations: 4 kB / 0.5344 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01553, allocations: 0.625 kB / 0.5344 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.01601, allocations: 0.5715 MB / 0.535 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01601, allocations: 0 / 0.535 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.01606, allocations: 27.92 kB / 0.535 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-05/0.01615, allocations: 37.81 kB / 0.535 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.01616, allocations: 4 kB / 0.535 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005832/0.01674, allocations: 1.75 MB / 0.5368 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01674, allocations: 0 / 0.5368 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.01694, allocations: 335.8 kB / 0.5371 GB, free: 280 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.01698, allocations: 35.77 kB / 0.5371 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.01699, allocations: 8 kB / 0.5371 GB, free: 236 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.01707, allocations: 13.05 kB / 0.5371 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.01709, allocations: 11.98 kB / 0.5371 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.01709, allocations: 8.688 kB / 0.5371 GB, free: 204 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.29e-05/0.01718, allocations: 193.4 kB / 0.5373 GB, free: 12 kB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01718, allocations: 1.969 kB / 0.5373 GB, free: 12 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002729/0.01745, allocations: 87.78 kB / 0.5374 GB, free: 15.92 MB / 0.5105 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 8.044e-05/0.01753, allocations: 96.06 kB / 0.5375 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01778, allocations: 285.3 kB / 0.5378 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01778, allocations: 4 kB / 0.5378 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.01789, allocations: 222.5 kB / 0.538 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.01815, allocations: 55.47 kB / 0.5381 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.01894, allocations: 0.5376 MB / 0.5386 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.019, allocations: 112.2 kB / 0.5387 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.692e-05/0.01908, allocations: 39.39 kB / 0.5387 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.01911, allocations: 20.5 kB / 0.5387 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/0.01911, allocations: 0 / 0.5387 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.005072/0.02419, allocations: 2.566 MB / 0.5412 GB, free: 12.07 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.630423885304481]