Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0008782/0.0008782, allocations: 105.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.0009687/0.0009687, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9414/0.9414, allocations: 230.6 MB / 256 MB, free: 9.582 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.7889/0.7889, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.000925/0.000925, allocations: 70.67 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5081, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005759/0.5139, allocations: 6.479 MB / 0.8241 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.5174, allocations: 3.039 MB / 0.8271 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.5176, allocations: 38.38 kB / 0.8271 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.5189, allocations: 0.9456 MB / 0.8281 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007311/0.5197, allocations: 0.5265 MB / 0.8286 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.5203, allocations: 426.4 kB / 0.829 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009121/0.5212, allocations: 1.225 MB / 0.8302 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/0.5219, allocations: 0.523 MB / 0.8307 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/0.5225, allocations: 491.9 kB / 0.8312 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.5231, allocations: 0.5194 MB / 0.8317 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.5231, allocations: 67.12 kB / 0.8317 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.5236, allocations: 346 kB / 0.8321 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.5238, allocations: 323.1 kB / 0.8324 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003048/0.5241, allocations: 367 kB / 0.8327 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.5254, allocations: 1.236 MB / 0.8339 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5254, allocations: 1 kB / 0.8339 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.996e-06/0.5254, allocations: 0 / 0.8339 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.5254, allocations: 0 / 0.8339 GB, free: 7.797 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001558/0.527, allocations: 1.107 MB / 0.835 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.527, allocations: 9.969 kB / 0.835 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.5272, allocations: 123.8 kB / 0.8351 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009752/0.5281, allocations: 246.7 kB / 0.8354 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.5288, allocations: 0.5177 MB / 0.8359 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.5289, allocations: 52.42 kB / 0.8359 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.529, allocations: 62.08 kB / 0.836 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.5303, allocations: 1.342 MB / 0.8373 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.5303, allocations: 2.625 kB / 0.8373 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.5303, allocations: 34.2 kB / 0.8373 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.5305, allocations: 84.7 kB / 0.8374 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009971/0.5315, allocations: 0.7541 MB / 0.8381 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.5346, allocations: 4.629 MB / 0.8427 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.5353, allocations: 0.5165 MB / 0.8432 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.5356, allocations: 287.8 kB / 0.8434 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.5356, allocations: 8.578 kB / 0.8434 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.5356, allocations: 38.75 kB / 0.8435 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.593e-06/0.5356, allocations: 0 / 0.8435 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002471/0.5381, allocations: 1.679 MB / 0.8451 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.5381, allocations: 57.03 kB / 0.8452 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.5386, allocations: 0.576 MB / 0.8457 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.5386, allocations: 32.05 kB / 0.8458 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.5388, allocations: 436.1 kB / 0.8462 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/0.5389, allocations: 178.3 kB / 0.8464 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.539, allocations: 119.5 kB / 0.8465 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5391, allocations: 377.5 kB / 0.8468 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.5394, allocations: 275.9 kB / 0.8471 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.5398, allocations: 495.8 kB / 0.8476 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/0.5405, allocations: 0.8073 MB / 0.8484 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.5405, allocations: 1.688 kB / 0.8484 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001114/0.5416, allocations: 1.081 MB / 0.8494 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5416, allocations: 7.75 kB / 0.8494 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5416, allocations: 10.75 kB / 0.8494 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.5421, allocations: 280.7 kB / 0.8497 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.5424, allocations: 130.1 kB / 0.8498 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/0.5464, allocations: 6.679 MB / 0.8563 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.5467, allocations: 41.72 kB / 0.8564 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.5467, allocations: 32.38 kB / 0.8564 GB, free: 6.48 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.000214/0.547, allocations: 250.6 kB / 0.8567 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.547, allocations: 72.27 kB / 0.8567 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009666/0.548, allocations: 0.8866 MB / 0.8576 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.548, allocations: 4.969 kB / 0.8576 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.548, allocations: 4.406 kB / 0.8576 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.548, allocations: 0 / 0.8576 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.5497, allocations: 1.61 MB / 0.8592 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.5497, allocations: 5.062 kB / 0.8592 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.5498, allocations: 59.86 kB / 0.8592 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/0.5502, allocations: 269.8 kB / 0.8595 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.5503, allocations: 7.781 kB / 0.8595 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003954/0.5542, allocations: 6.677 MB / 0.866 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5542, allocations: 0.9688 kB / 0.866 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.5551, allocations: 0.9834 MB / 0.867 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.5553, allocations: 116 kB / 0.8671 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.5553, allocations: 15.22 kB / 0.8671 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.5555, allocations: 25.72 kB / 0.8671 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.5556, allocations: 46.91 kB / 0.8672 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.5556, allocations: 16.16 kB / 0.8672 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002709/0.5559, allocations: 384.6 kB / 0.8676 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.5559, allocations: 0 / 0.8676 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005178/0.5564, allocations: 228.6 kB / 0.8678 GB, free: 13.37 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.5575, allocations: 1.528 MB / 0.8693 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.5588, allocations: 1.232 MB / 0.8705 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5588, allocations: 0 / 0.8705 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006701/0.5595, allocations: 0.8634 MB / 0.8713 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.5601, allocations: 227.1 kB / 0.8715 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005731/0.5658, allocations: 6.369 MB / 0.8777 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.5661, allocations: 419.5 kB / 0.8781 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002364/0.5663, allocations: 121.9 kB / 0.8783 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.5665, allocations: 251.4 kB / 0.8785 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/0.5665, allocations: 0 / 0.8785 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.6022, allocations: 19.23 MB / 0.8973 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.816, allocations: 25.19 kB / 0.8973 GB, free: 2.328 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.805678454693407] Failed to read output from testmodel.py, exit status != 0: 7.90592687157914 7.914518952 7.387362183 Calling exit ...