Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.0008628/0.0008628, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.00169/0.00169, allocations: 212 kB / 22.25 MB, free: 3.578 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.9517/0.9517, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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-531:686: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-531:694: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.7843/0.7843, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.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: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.0009829/0.0009829, allocations: 71.7 kB / 0.7178 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5105/0.5115, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006604/0.5181, allocations: 5.274 MB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004163/0.5223, allocations: 2.614 MB / 0.8251 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003781/0.5226, allocations: 29.19 kB / 0.8251 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.5241, allocations: 0.6861 MB / 0.8258 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.5251, allocations: 430.8 kB / 0.8262 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.526, allocations: 393.2 kB / 0.8266 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000937/0.527, allocations: 0.9502 MB / 0.8275 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006359/0.5276, allocations: 378.5 kB / 0.8279 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007032/0.5283, allocations: 394 kB / 0.8282 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000676/0.529, allocations: 397.7 kB / 0.8286 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.365e-05/0.5291, allocations: 47.94 kB / 0.8287 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.5297, allocations: 333.2 kB / 0.829 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.5299, allocations: 254.8 kB / 0.8292 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.5302, allocations: 282.1 kB / 0.8295 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.5316, allocations: 0.9898 MB / 0.8304 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5316, allocations: 0.5 kB / 0.8305 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5316, allocations: 0 / 0.8305 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.5316, allocations: 0.5312 kB / 0.8305 GB, free: 9.719 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001518/0.5331, allocations: 0.9092 MB / 0.8313 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5332, allocations: 13.31 kB / 0.8314 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.5333, allocations: 101.6 kB / 0.8314 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009082/0.5342, allocations: 198 kB / 0.8316 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.5348, allocations: 459.2 kB / 0.8321 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.5349, allocations: 42.36 kB / 0.8321 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.535, allocations: 55.44 kB / 0.8322 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/0.536, allocations: 0.9822 MB / 0.8331 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.536, allocations: 2.281 kB / 0.8331 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.536, allocations: 27.44 kB / 0.8332 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.5362, allocations: 63.67 kB / 0.8332 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/0.5369, allocations: 0.5708 MB / 0.8338 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.54, allocations: 3.571 MB / 0.8373 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.5404, allocations: 274.9 kB / 0.8375 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.5406, allocations: 214.8 kB / 0.8377 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.5407, allocations: 4.406 kB / 0.8377 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5407, allocations: 42.28 kB / 0.8378 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.5407, allocations: 0 / 0.8378 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003672/0.5444, allocations: 2.335 MB / 0.8401 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.5444, allocations: 55.75 kB / 0.8401 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.5448, allocations: 475.5 kB / 0.8406 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5448, allocations: 31.08 kB / 0.8406 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.5449, allocations: 344.3 kB / 0.8409 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-05/0.545, allocations: 153.9 kB / 0.8411 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.5451, allocations: 102.3 kB / 0.8412 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5452, allocations: 367.3 kB / 0.8415 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.5455, allocations: 235.8 kB / 0.8417 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.5458, allocations: 416.9 kB / 0.8421 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.5465, allocations: 0.6733 MB / 0.8428 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5465, allocations: 1.5 kB / 0.8428 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001167/0.5476, allocations: 0.9205 MB / 0.8437 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.5477, allocations: 8.25 kB / 0.8437 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5477, allocations: 4.844 kB / 0.8437 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/0.5482, allocations: 226.7 kB / 0.8439 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.5485, allocations: 113 kB / 0.844 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.5523, allocations: 4.998 MB / 0.8489 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.5526, allocations: 30.03 kB / 0.8489 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.5526, allocations: 23.25 kB / 0.849 GB, free: 12.25 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.5529, allocations: 223.8 kB / 0.8492 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.553, allocations: 60.52 kB / 0.8492 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009454/0.554, allocations: 0.7672 MB / 0.85 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.554, allocations: 4.125 kB / 0.85 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.554, allocations: 2.75 kB / 0.85 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.554, allocations: 3.984 kB / 0.85 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.5556, allocations: 1.405 MB / 0.8514 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.5556, allocations: 2.875 kB / 0.8514 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.5558, allocations: 69.08 kB / 0.8514 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003774/0.5562, allocations: 213.7 kB / 0.8516 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.5562, allocations: 9.312 kB / 0.8516 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/0.5595, allocations: 4.942 MB / 0.8565 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5595, allocations: 1.281 kB / 0.8565 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.5607, allocations: 1.133 MB / 0.8576 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.5609, allocations: 97.48 kB / 0.8577 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.561, allocations: 13.39 kB / 0.8577 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.5611, allocations: 27.75 kB / 0.8577 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.5612, allocations: 33 kB / 0.8577 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.5612, allocations: 12.78 kB / 0.8578 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000284/0.5615, allocations: 307.8 kB / 0.858 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5615, allocations: 0 / 0.858 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006164/0.5621, allocations: 175 kB / 0.8582 GB, free: 4.895 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,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.001377/0.5635, allocations: 1.685 MB / 0.8599 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.5647, allocations: 0.9615 MB / 0.8608 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5647, allocations: 0 / 0.8608 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005777/0.5653, allocations: 0.671 MB / 0.8615 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.5659, allocations: 185.9 kB / 0.8616 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/0.5727, allocations: 5.612 MB / 0.8671 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.573, allocations: 345.7 kB / 0.8674 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.5733, allocations: 118.5 kB / 0.8676 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.5735, allocations: 209.1 kB / 0.8678 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.683e-06/0.5735, allocations: 4 kB / 0.8678 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03857/0.6121, allocations: 15.61 MB / 0.883 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.226/7.839, allocations: 6.578 kB / 0.883 GB, free: 1.312 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.737064981367439] Failed to read output from testmodel.py, exit status != 0: 7.925050480291247 7.938598712 7.404516893 Calling exit ...