Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0009634/0.0009634, allocations: 109.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.001041/0.001041, allocations: 214.2 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.9808/0.9808, allocations: 230.6 MB / 256 MB, free: 9.617 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.7843/0.7843, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.0009277/0.0009277, allocations: 65.33 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5166, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00548/0.522, allocations: 5.914 MB / 0.8236 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003838/0.5259, allocations: 3.132 MB / 0.8266 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.5263, allocations: 41.09 kB / 0.8267 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.5277, allocations: 0.9283 MB / 0.8276 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009899/0.5287, allocations: 493.7 kB / 0.828 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009632/0.5296, allocations: 492.9 kB / 0.8285 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.5307, allocations: 1.097 MB / 0.8296 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/0.5315, allocations: 0.5018 MB / 0.8301 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008094/0.5323, allocations: 453 kB / 0.8305 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007035/0.533, allocations: 474.3 kB / 0.831 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.5331, allocations: 58.66 kB / 0.831 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/0.5339, allocations: 446.3 kB / 0.8314 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.5342, allocations: 294.3 kB / 0.8317 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.5345, allocations: 329.7 kB / 0.832 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.5359, allocations: 1.191 MB / 0.8332 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5359, allocations: 0 / 0.8332 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5359, allocations: 1.219 kB / 0.8332 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.5359, allocations: 0 / 0.8332 GB, free: 8.27 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001467/0.5374, allocations: 0.9985 MB / 0.8342 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5374, allocations: 9.125 kB / 0.8342 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.5375, allocations: 117.2 kB / 0.8343 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5385, allocations: 224 kB / 0.8345 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.5392, allocations: 0.5096 MB / 0.835 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.5393, allocations: 53.52 kB / 0.8351 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.5393, allocations: 61.72 kB / 0.8351 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.5406, allocations: 1.135 MB / 0.8362 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.5406, allocations: 16.52 kB / 0.8362 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.5406, allocations: 32.36 kB / 0.8363 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.007e-05/0.5407, allocations: 65.52 kB / 0.8363 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.5416, allocations: 0.6896 MB / 0.837 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.545, allocations: 4.513 MB / 0.8414 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.5455, allocations: 416.8 kB / 0.8418 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.546, allocations: 388.1 kB / 0.8422 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.546, allocations: 3.625 kB / 0.8422 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.5461, allocations: 36.84 kB / 0.8422 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.144e-06/0.5461, allocations: 1.094 kB / 0.8422 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0028/0.5489, allocations: 1.716 MB / 0.8439 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.5489, allocations: 55.81 kB / 0.844 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.5493, allocations: 467.5 kB / 0.8444 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.5494, allocations: 36.14 kB / 0.8444 GB, free: 488 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.5496, allocations: 393.9 kB / 0.8448 GB, free: 132 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5497, allocations: 163.5 kB / 0.845 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.5498, allocations: 108.5 kB / 0.8451 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.55, allocations: 363.6 kB / 0.8454 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.5502, allocations: 246.5 kB / 0.8456 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.5506, allocations: 454.6 kB / 0.8461 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/0.5512, allocations: 0.7393 MB / 0.8468 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.5512, allocations: 6.656 kB / 0.8468 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001208/0.5524, allocations: 1.034 MB / 0.8478 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5525, allocations: 9.375 kB / 0.8478 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5525, allocations: 11.16 kB / 0.8478 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.5531, allocations: 315.4 kB / 0.8481 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.5533, allocations: 100.7 kB / 0.8482 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/0.5581, allocations: 7.021 MB / 0.8551 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.5584, allocations: 30.42 kB / 0.8551 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.5584, allocations: 33.56 kB / 0.8552 GB, free: 7.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003142/0.5587, allocations: 244.2 kB / 0.8554 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5588, allocations: 63.91 kB / 0.8554 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.5599, allocations: 0.8818 MB / 0.8563 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5599, allocations: 4.156 kB / 0.8563 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.5599, allocations: 4.031 kB / 0.8563 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5599, allocations: 5.359 kB / 0.8563 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.5617, allocations: 1.581 MB / 0.8579 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5617, allocations: 5.5 kB / 0.8579 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.761e-05/0.5618, allocations: 45.84 kB / 0.8579 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005061/0.5623, allocations: 299 kB / 0.8582 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.5623, allocations: 7.594 kB / 0.8582 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/0.567, allocations: 7.015 MB / 0.8651 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.567, allocations: 6.062 kB / 0.8651 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.5682, allocations: 0.9723 MB / 0.866 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.5684, allocations: 103.5 kB / 0.8661 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.5684, allocations: 9.062 kB / 0.8661 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.5686, allocations: 24.38 kB / 0.8661 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/0.5687, allocations: 50.11 kB / 0.8662 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.5687, allocations: 13.47 kB / 0.8662 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002594/0.569, allocations: 306.5 kB / 0.8665 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.569, allocations: 0 / 0.8665 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007133/0.5697, allocations: 197.4 kB / 0.8667 GB, free: 14.19 MB / 0.6511 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/0.571, allocations: 1.529 MB / 0.8682 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.5723, allocations: 1.156 MB / 0.8693 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5723, allocations: 1.062 kB / 0.8693 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007201/0.573, allocations: 0.8356 MB / 0.8701 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007307/0.5737, allocations: 208.5 kB / 0.8703 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006084/0.5798, allocations: 5.835 MB / 0.876 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.5801, allocations: 394.2 kB / 0.8764 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.5804, allocations: 94.62 kB / 0.8765 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.5806, allocations: 225.7 kB / 0.8767 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.5806, allocations: 5.094 kB / 0.8767 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.6153, allocations: 16.82 MB / 0.8931 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.701, allocations: 20.78 kB / 0.8932 GB, free: 6.59 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.765855976846069] Failed to read output from testmodel.py, exit status != 0: 7.7875809939578176 7.798073388 7.260463256 Calling exit ...