Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001385/0.001385, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001728/0.001728, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.264/1.264, allocations: 203.8 MB / 0.5041 GB, free: 4.602 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 59.91 kB / 0.7186 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6476/0.6497, allocations: 102 MB / 0.8182 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.00611/0.6558, allocations: 3.785 MB / 0.8219 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002902/0.6587, allocations: 1.702 MB / 0.8236 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.6589, allocations: 11.59 kB / 0.8236 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.6604, allocations: 496.5 kB / 0.8241 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.661, allocations: 224.7 kB / 0.8243 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.6615, allocations: 217.2 kB / 0.8245 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005302/0.6621, allocations: 480.9 kB / 0.825 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.6626, allocations: 286.6 kB / 0.8252 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.6628, allocations: 202.8 kB / 0.8254 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.6633, allocations: 213.4 kB / 0.8256 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.212e-05/0.6633, allocations: 27.53 kB / 0.8257 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.6638, allocations: 222.5 kB / 0.8259 GB, free: 24.28 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.664, allocations: 127.8 kB / 0.826 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.6642, allocations: 151.5 kB / 0.8261 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008286/0.665, allocations: 0.5067 MB / 0.8266 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.665, allocations: 0.9688 kB / 0.8266 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.665, allocations: 0 / 0.8266 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.665, allocations: 0 / 0.8266 GB, free: 23.97 MB / 0.6387 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.001105/0.6661, allocations: 0.5665 MB / 0.8272 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6662, allocations: 11.88 kB / 0.8272 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009774/0.6672, allocations: 133.4 kB / 0.8273 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.6676, allocations: 229.4 kB / 0.8275 GB, free: 23.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.6676, allocations: 24.36 kB / 0.8276 GB, free: 23.33 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.6677, allocations: 26.88 kB / 0.8276 GB, free: 23.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/0.6684, allocations: 0.586 MB / 0.8282 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.6684, allocations: 1.875 kB / 0.8282 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.6685, allocations: 15.2 kB / 0.8282 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/0.6685, allocations: 30.95 kB / 0.8282 GB, free: 22.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.6691, allocations: 321.1 kB / 0.8285 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.6707, allocations: 1.523 MB / 0.83 GB, free: 21.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.6711, allocations: 160.8 kB / 0.8302 GB, free: 21.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.6713, allocations: 94.81 kB / 0.8302 GB, free: 21.49 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.6713, allocations: 1.625 kB / 0.8302 GB, free: 21.49 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.6713, allocations: 36.58 kB / 0.8303 GB, free: 21.45 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.6714, allocations: 1.406 kB / 0.8303 GB, free: 21.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0005871/0.6719, allocations: 232.7 kB / 0.8305 GB, free: 21.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.672, allocations: 52.38 kB / 0.8306 GB, free: 21.28 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.6722, allocations: 230.3 kB / 0.8308 GB, free: 21.13 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.6722, allocations: 30.86 kB / 0.8308 GB, free: 21.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.6723, allocations: 214.1 kB / 0.831 GB, free: 20.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.6724, allocations: 54.75 kB / 0.8311 GB, free: 20.88 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.6725, allocations: 52.16 kB / 0.8311 GB, free: 20.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.6725, allocations: 332.4 kB / 0.8314 GB, free: 20.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.6726, allocations: 54.36 kB / 0.8315 GB, free: 20.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.6728, allocations: 154.4 kB / 0.8316 GB, free: 20.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.673, allocations: 216.2 kB / 0.8318 GB, free: 20.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.673, allocations: 1.438 kB / 0.8318 GB, free: 20.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004314/0.6734, allocations: 258.7 kB / 0.8321 GB, free: 20.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6735, allocations: 7.281 kB / 0.8321 GB, free: 20.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6735, allocations: 3.281 kB / 0.8321 GB, free: 20.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.6737, allocations: 35.73 kB / 0.8321 GB, free: 20.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.6739, allocations: 50.53 kB / 0.8322 GB, free: 20.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008768/0.6747, allocations: 1.298 MB / 0.8334 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.6749, allocations: 23.12 kB / 0.8335 GB, free: 18.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.6749, allocations: 8.25 kB / 0.8335 GB, free: 18.77 MB / 0.6387 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.0001485/0.6751, allocations: 176.2 kB / 0.8336 GB, free: 18.62 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.6751, allocations: 25.89 kB / 0.8337 GB, free: 18.61 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.6752, allocations: 23.81 kB / 0.8337 GB, free: 18.59 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.6752, allocations: 3.297 kB / 0.8337 GB, free: 18.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6752, allocations: 3.984 kB / 0.8337 GB, free: 18.58 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6752, allocations: 1.953 kB / 0.8337 GB, free: 18.58 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007927/0.676, allocations: 0.5532 MB / 0.8342 GB, free: 18.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.676, allocations: 1.938 kB / 0.8342 GB, free: 18.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.6761, allocations: 28.53 kB / 0.8343 GB, free: 18.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.023e-05/0.6761, allocations: 25.16 kB / 0.8343 GB, free: 18.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.6761, allocations: 2.5 kB / 0.8343 GB, free: 18.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007056/0.6769, allocations: 1.296 MB / 0.8356 GB, free: 16.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6769, allocations: 6.156 kB / 0.8356 GB, free: 16.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.6772, allocations: 307.6 kB / 0.8359 GB, free: 16.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.6773, allocations: 36.81 kB / 0.8359 GB, free: 16.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.6773, allocations: 3.844 kB / 0.8359 GB, free: 16.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.6775, allocations: 11.77 kB / 0.8359 GB, free: 16.63 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.6775, allocations: 15.08 kB / 0.8359 GB, free: 16.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.6775, allocations: 12.88 kB / 0.8359 GB, free: 16.62 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001451/0.6777, allocations: 162.7 kB / 0.8361 GB, free: 16.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6777, allocations: 0 / 0.8361 GB, free: 16.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000435/0.6781, allocations: 88.48 kB / 0.8362 GB, free: 16.49 MB / 0.6387 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.0001071/0.6782, allocations: 100.2 kB / 0.8363 GB, free: 16.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004658/0.6787, allocations: 263.3 kB / 0.8365 GB, free: 16.24 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6787, allocations: 1.125 kB / 0.8365 GB, free: 16.24 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.6789, allocations: 178.4 kB / 0.8367 GB, free: 16.11 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.6793, allocations: 56.12 kB / 0.8367 GB, free: 16.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009297/0.6803, allocations: 0.5459 MB / 0.8373 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.6805, allocations: 182.3 kB / 0.8374 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.6806, allocations: 45.67 kB / 0.8375 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.6807, allocations: 17.94 kB / 0.8375 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.6807, allocations: 1.125 kB / 0.8375 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of Templates: time 0.007463/0.6882, allocations: 2.771 MB / 0.8402 GB, free: 15.32 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.854014767333865] Failed to read output from testmodel.py, exit status != 0: 0.697162464261055 0.709817484 0.042141212000000004 Calling exit ...