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.0008386/0.0008386, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008783/0.0008783, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9497/0.9497, allocations: 230.6 MB / 256 MB, free: 9.82 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.8077/0.8077, allocations: 203.8 MB / 0.5042 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 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.0009821/0.0009821, allocations: 66.86 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5071, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005628/0.5127, allocations: 6.354 MB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.5164, allocations: 3.309 MB / 0.8273 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.5167, allocations: 40.84 kB / 0.8273 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.5185, allocations: 0.9704 MB / 0.8283 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.5195, allocations: 493.2 kB / 0.8288 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.5208, allocations: 0.4884 MB / 0.8292 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.522, allocations: 1.09 MB / 0.8303 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007196/0.5227, allocations: 0.5075 MB / 0.8308 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005694/0.5232, allocations: 459.7 kB / 0.8312 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006358/0.5239, allocations: 498.3 kB / 0.8317 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.524, allocations: 58.12 kB / 0.8318 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008459/0.5248, allocations: 0.4922 MB / 0.8322 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.5251, allocations: 290.5 kB / 0.8325 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.5255, allocations: 404.9 kB / 0.8329 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.5269, allocations: 1.178 MB / 0.8341 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5269, allocations: 0 / 0.8341 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.736e-06/0.5269, allocations: 4 kB / 0.8341 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.5269, allocations: 0.8438 kB / 0.8341 GB, free: 7.641 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.001393/0.5283, allocations: 1.001 MB / 0.835 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5284, allocations: 10.22 kB / 0.835 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/0.5285, allocations: 120.1 kB / 0.8352 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.5294, allocations: 219.9 kB / 0.8354 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.5301, allocations: 0.5134 MB / 0.8359 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.5301, allocations: 46.36 kB / 0.8359 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.5302, allocations: 64.98 kB / 0.836 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.5315, allocations: 1.033 MB / 0.837 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.5316, allocations: 11.97 kB / 0.837 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.5316, allocations: 27.98 kB / 0.837 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.532e-05/0.5317, allocations: 70.17 kB / 0.8371 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008786/0.5326, allocations: 0.6907 MB / 0.8378 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.5362, allocations: 5.664 MB / 0.8433 GB, free: 416 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.5368, allocations: 415.4 kB / 0.8437 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.5373, allocations: 395.3 kB / 0.8441 GB, free: 0 / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.5373, allocations: 4.125 kB / 0.8441 GB, free: 0 / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.5374, allocations: 37.42 kB / 0.8441 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.5374, allocations: 3.938 kB / 0.8441 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.002807/0.5402, allocations: 1.709 MB / 0.8458 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.5402, allocations: 60.31 kB / 0.8458 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.5406, allocations: 456.9 kB / 0.8463 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.5406, allocations: 32.42 kB / 0.8463 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.5408, allocations: 401.2 kB / 0.8467 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.5409, allocations: 159.6 kB / 0.8468 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.541, allocations: 111.9 kB / 0.847 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5411, allocations: 359 kB / 0.8473 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.5414, allocations: 242.6 kB / 0.8475 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.5417, allocations: 462.5 kB / 0.848 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.5424, allocations: 0.7482 MB / 0.8487 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5424, allocations: 3.5 kB / 0.8487 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001157/0.5435, allocations: 1.035 MB / 0.8497 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.5435, allocations: 10.25 kB / 0.8497 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5436, allocations: 11.59 kB / 0.8497 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/0.5441, allocations: 310.9 kB / 0.85 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.5443, allocations: 100.3 kB / 0.8501 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004941/0.5493, allocations: 7.063 MB / 0.857 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.5494, allocations: 30.8 kB / 0.8571 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.5495, allocations: 28.78 kB / 0.8571 GB, free: 5.516 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.0002236/0.5497, allocations: 245.5 kB / 0.8573 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.5498, allocations: 60.42 kB / 0.8574 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.5508, allocations: 0.8841 MB / 0.8582 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5508, allocations: 4.156 kB / 0.8582 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5508, allocations: 5 kB / 0.8582 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5508, allocations: 3.984 kB / 0.8582 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.5525, allocations: 1.641 MB / 0.8598 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5525, allocations: 6.844 kB / 0.8599 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.5526, allocations: 45.69 kB / 0.8599 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.5531, allocations: 307 kB / 0.8602 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.5531, allocations: 15.42 kB / 0.8602 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/0.5576, allocations: 7.054 MB / 0.8671 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5576, allocations: 5 kB / 0.8671 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.5586, allocations: 0.9731 MB / 0.868 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.5588, allocations: 100.2 kB / 0.8681 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.5588, allocations: 7.281 kB / 0.8682 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.5589, allocations: 26.19 kB / 0.8682 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.559, allocations: 44.75 kB / 0.8682 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.559, allocations: 18.14 kB / 0.8682 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002365/0.5593, allocations: 305.2 kB / 0.8685 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.5593, allocations: 0 / 0.8685 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005682/0.5598, allocations: 193.7 kB / 0.8687 GB, free: 12.15 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.001203/0.561, allocations: 1.532 MB / 0.8702 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.5622, allocations: 1.149 MB / 0.8713 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5622, allocations: 0 / 0.8713 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006783/0.5629, allocations: 0.8445 MB / 0.8722 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.5635, allocations: 196.9 kB / 0.8723 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.5694, allocations: 5.847 MB / 0.8781 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.5699, allocations: 0.9862 MB / 0.879 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002249/0.5701, allocations: 98.61 kB / 0.8791 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.5703, allocations: 226.6 kB / 0.8793 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of SimCode: time 7.91e-07/0.5703, allocations: 3.938 kB / 0.8793 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.6053, allocations: 15.87 MB / 0.8948 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/8.172, allocations: 6.172 kB / 0.8948 GB, free: 4.98 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: 11.221099758055061] Failed to read output from testmodel.py, exit status != 0: 8.2600923019927 8.271687008 7.741808601 Calling exit ...