Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.0008654/0.0008654, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 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.001049/0.001049, allocations: 209.7 kB / 22.24 MB, free: 3.57 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 0.9534/0.9534, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7915/0.7915, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [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.0009488/0.0009488, allocations: 70.67 kB / 0.7181 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5658, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004587/0.5704, allocations: 4.28 MB / 0.822 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.5728, allocations: 1.822 MB / 0.8237 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.573, allocations: 15.81 kB / 0.8237 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.574, allocations: 0.595 MB / 0.8243 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.5745, allocations: 267.9 kB / 0.8246 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.5752, allocations: 259.2 kB / 0.8248 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.5757, allocations: 0.6078 MB / 0.8254 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005038/0.5762, allocations: 339.6 kB / 0.8257 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.5764, allocations: 258.4 kB / 0.826 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.5768, allocations: 266.2 kB / 0.8262 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.5769, allocations: 37.22 kB / 0.8263 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.5773, allocations: 230 kB / 0.8265 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.5774, allocations: 153 kB / 0.8266 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.5776, allocations: 183.8 kB / 0.8268 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000674/0.5782, allocations: 0.6172 MB / 0.8274 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5782, allocations: 0 / 0.8274 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5782, allocations: 1.062 kB / 0.8274 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.5782, allocations: 0 / 0.8274 GB, free: 11.39 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009587/0.5792, allocations: 0.6655 MB / 0.8281 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5792, allocations: 10.08 kB / 0.8281 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.364e-05/0.5793, allocations: 78.5 kB / 0.8282 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005496/0.5799, allocations: 155.3 kB / 0.8283 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.5802, allocations: 270.4 kB / 0.8286 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.5802, allocations: 27.38 kB / 0.8286 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.5803, allocations: 37.42 kB / 0.8286 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.581, allocations: 0.6802 MB / 0.8293 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.581, allocations: 1.156 kB / 0.8293 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.581, allocations: 21.72 kB / 0.8293 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.5811, allocations: 32.36 kB / 0.8293 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.5816, allocations: 389.2 kB / 0.8297 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.5835, allocations: 1.735 MB / 0.8314 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.5839, allocations: 237.3 kB / 0.8316 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.584, allocations: 97.58 kB / 0.8317 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.584, allocations: 2.281 kB / 0.8317 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.584, allocations: 45.73 kB / 0.8318 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.5841, allocations: 0 / 0.8318 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001482/0.5855, allocations: 0.8966 MB / 0.8327 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.5856, allocations: 58.09 kB / 0.8327 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.5858, allocations: 311.5 kB / 0.833 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.5859, allocations: 30.92 kB / 0.833 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.586, allocations: 232.3 kB / 0.8333 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.586, allocations: 92.25 kB / 0.8333 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.5861, allocations: 63.47 kB / 0.8334 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.5862, allocations: 338.8 kB / 0.8337 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.5863, allocations: 107.6 kB / 0.8338 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.5865, allocations: 189.7 kB / 0.834 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.5868, allocations: 321.5 kB / 0.8343 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5868, allocations: 1 kB / 0.8343 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005166/0.5873, allocations: 442 kB / 0.8347 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5873, allocations: 9.5 kB / 0.8347 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.5873, allocations: 2.594 kB / 0.8348 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.5876, allocations: 100.8 kB / 0.8348 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.5878, allocations: 65.44 kB / 0.8349 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.5899, allocations: 4.068 MB / 0.8389 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.5901, allocations: 8.781 kB / 0.8389 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.5901, allocations: 13.78 kB / 0.8389 GB, free: 2.496 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.5904, allocations: 177.2 kB / 0.8391 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.5904, allocations: 39.97 kB / 0.8391 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.5904, allocations: 42.03 kB / 0.8392 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5904, allocations: 2.953 kB / 0.8392 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.5905, allocations: 1.031 kB / 0.8392 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5905, allocations: 1.266 kB / 0.8392 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.5908, allocations: 337.4 kB / 0.8395 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5908, allocations: 5.125 kB / 0.8395 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.5909, allocations: 36.16 kB / 0.8395 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.5911, allocations: 101 kB / 0.8396 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.5912, allocations: 5.281 kB / 0.8396 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.5932, allocations: 4.052 MB / 0.8436 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5932, allocations: 3.938 kB / 0.8436 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.5938, allocations: 0.5556 MB / 0.8441 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.5939, allocations: 58.62 kB / 0.8442 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.5939, allocations: 3.016 kB / 0.8442 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.594, allocations: 11.09 kB / 0.8442 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.594, allocations: 20.56 kB / 0.8442 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.5941, allocations: 4 kB / 0.8442 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001684/0.5942, allocations: 217.8 kB / 0.8444 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5942, allocations: 0 / 0.8444 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000379/0.5946, allocations: 94.75 kB / 0.8445 GB, free: 13.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007672/0.5954, allocations: 1.1 MB / 0.8456 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006267/0.596, allocations: 0.5901 MB / 0.8462 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.596, allocations: 1.25 kB / 0.8462 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.5963, allocations: 460.6 kB / 0.8466 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.5967, allocations: 91.34 kB / 0.8467 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.5998, allocations: 3.391 MB / 0.85 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.6, allocations: 226.5 kB / 0.8502 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000162/0.6002, allocations: 62.8 kB / 0.8503 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.6003, allocations: 106.3 kB / 0.8504 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/0.6003, allocations: 0 / 0.8504 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.6265, allocations: 8.747 MB / 0.8589 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/7.521, allocations: 10.17 kB / 0.8589 GB, free: 4.82 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.475609897170216] Failed to read output from testmodel.py, exit status != 0: 7.60414417879656 7.613843711 7.033694918 Calling exit ...