Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.00092/0.00092, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009915/0.0009915, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9216/0.9216, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.7504/0.7504, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.621e-05, allocations: 8.234 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01076/0.01079, allocations: 10.17 MB / 0.628 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.02255, allocations: 8.374 MB / 0.6362 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.02385, allocations: 79.31 kB / 0.6362 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.02672, allocations: 1.679 MB / 0.6379 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.03078, allocations: 1.61 MB / 0.6394 GB, free: 7.742 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.03263, allocations: 0.6931 MB / 0.6401 GB, free: 7.051 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003421/0.03605, allocations: 2.352 MB / 0.6424 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.0378, allocations: 1.152 MB / 0.6435 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.03981, allocations: 1.387 MB / 0.6449 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.04114, allocations: 0.8998 MB / 0.6458 GB, free: 1.195 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.0414, allocations: 136 kB / 0.6459 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.04263, allocations: 0.756 MB / 0.6466 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004188/0.04305, allocations: 0.6035 MB / 0.6472 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000737/0.04379, allocations: 0.6001 MB / 0.6478 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.04628, allocations: 2.617 MB / 0.6504 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.04629, allocations: 0 / 0.6504 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.04629, allocations: 0 / 0.6504 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.247e-05/0.04635, allocations: 0 / 0.6504 GB, free: 12.47 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003219/0.04957, allocations: 1.972 MB / 0.6523 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.04962, allocations: 9.469 kB / 0.6523 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.0498, allocations: 190.1 kB / 0.6525 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/0.0554, allocations: 2.067 MB / 0.6545 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.05713, allocations: 1.133 MB / 0.6556 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.05717, allocations: 82.7 kB / 0.6557 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.05733, allocations: 116.3 kB / 0.6558 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003598/0.06093, allocations: 2.893 MB / 0.6586 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.06097, allocations: 11.94 kB / 0.6586 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.06108, allocations: 48 kB / 0.6587 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/0.06128, allocations: 130.1 kB / 0.6588 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.06528, allocations: 2.541 MB / 0.6613 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008238/0.07352, allocations: 7.627 MB / 0.6687 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.07695, allocations: 1.85 MB / 0.6706 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.07861, allocations: 0.9427 MB / 0.6715 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.07865, allocations: 8.5 kB / 0.6715 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.07868, allocations: 43.06 kB / 0.6715 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 4.087e-06/0.07869, allocations: 0 / 0.6715 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81): time 0.3073/0.386, allocations: 8.637 MB / 0.68 GB, free: 96.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3861, allocations: 61.16 kB / 0.68 GB, free: 96.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009858/0.387, allocations: 1.111 MB / 0.6811 GB, free: 96.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.881e-05/0.3871, allocations: 41.45 kB / 0.6811 GB, free: 95.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.3874, allocations: 0.7461 MB / 0.6819 GB, free: 95.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.3875, allocations: 291.5 kB / 0.6821 GB, free: 95.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.3878, allocations: 199 kB / 0.6823 GB, free: 95.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.3878, allocations: 350 kB / 0.6827 GB, free: 94.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.3893, allocations: 1.07 MB / 0.6837 GB, free: 94.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.3908, allocations: 1.306 MB / 0.685 GB, free: 94.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.3939, allocations: 2.385 MB / 0.6873 GB, free: 93.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3939, allocations: 4.656 kB / 0.6873 GB, free: 93.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004549/0.3984, allocations: 3.255 MB / 0.6905 GB, free: 92.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3985, allocations: 5.281 kB / 0.6905 GB, free: 92.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3985, allocations: 11.41 kB / 0.6905 GB, free: 92.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.3999, allocations: 0.7811 MB / 0.6913 GB, free: 91.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/0.4009, allocations: 421.8 kB / 0.6917 GB, free: 91.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/0.4087, allocations: 14.98 MB / 0.7063 GB, free: 79.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.41, allocations: 290.3 kB / 0.7066 GB, free: 79.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.4101, allocations: 52.55 kB / 0.7066 GB, free: 79.68 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0005413/0.4106, allocations: 394.6 kB / 0.707 GB, free: 79.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.4108, allocations: 157.4 kB / 0.7072 GB, free: 79.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/0.415, allocations: 3.176 MB / 0.7103 GB, free: 78.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.415, allocations: 10.5 kB / 0.7103 GB, free: 78.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.415, allocations: 5.25 kB / 0.7103 GB, free: 78.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.415, allocations: 13.56 kB / 0.7103 GB, free: 78.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006337/0.4214, allocations: 4.615 MB / 0.7148 GB, free: 76.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4214, allocations: 3.625 kB / 0.7148 GB, free: 76.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.4224, allocations: 351.2 kB / 0.7151 GB, free: 76.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.4237, allocations: 0.6962 MB / 0.7158 GB, free: 76.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.4238, allocations: 33.89 kB / 0.7158 GB, free: 76.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008011/0.4318, allocations: 14.59 MB / 0.7301 GB, free: 64.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4318, allocations: 7.125 kB / 0.7301 GB, free: 64.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/0.4366, allocations: 3.013 MB / 0.733 GB, free: 63.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005716/0.4371, allocations: 316.3 kB / 0.7333 GB, free: 63.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.4373, allocations: 14.44 kB / 0.7334 GB, free: 63.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009689/0.4382, allocations: 293.2 kB / 0.7336 GB, free: 63.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.4385, allocations: 86.11 kB / 0.7337 GB, free: 63.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/0.4386, allocations: 40.44 kB / 0.7338 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007715/0.4393, allocations: 0.7373 MB / 0.7345 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4393, allocations: 4 kB / 0.7345 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001259/0.4406, allocations: 431.8 kB / 0.7349 GB, free: 62.86 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.004905/0.4455, allocations: 3.584 MB / 0.7384 GB, free: 61.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005146/0.4506, allocations: 3.516 MB / 0.7418 GB, free: 59.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4507, allocations: 5.297 kB / 0.7418 GB, free: 59.69 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002762/0.4534, allocations: 2.316 MB / 0.7441 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.455, allocations: 0.5313 MB / 0.7446 GB, free: 58.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/0.476, allocations: 15.84 MB / 0.7601 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.4766, allocations: 0.7984 MB / 0.7609 GB, free: 50.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00116/0.4778, allocations: 378.7 kB / 0.7612 GB, free: 50.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.4783, allocations: 0.6041 MB / 0.7618 GB, free: 49.73 MB / 0.6355 GB Notification: Performance of SimCode: time 1.463e-06/0.4783, allocations: 0 / 0.7618 GB, free: 49.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/0.54, allocations: 45.6 MB / 0.8064 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.64, allocations: 6.875 kB / 0.8064 GB, free: 6.438 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_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.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.569480755366385] Failed to read output from testmodel.py, exit status != 0: 8.747420001775026 8.754687205 8.706419603 Calling exit ...