Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 107.1 kB / 16.4 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 187.7 kB / 19.35 MB, free: 3.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.048/1.048, allocations: 173.4 MB / 470.7 MB, free: 13.59 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 62.91 kB / 0.6478 GB, free: 11.69 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1808, allocations: 89.53 MB / 0.7353 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.355/0.5358, allocations: 23.39 MB / 0.7581 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00969/0.5455, allocations: 6.488 MB / 0.7645 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.5486, allocations: 99 kB / 0.7645 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004165/0.5528, allocations: 1.491 MB / 0.766 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.5579, allocations: 1.826 MB / 0.7678 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.5621, allocations: 1.456 MB / 0.7692 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009084/0.5712, allocations: 6.906 MB / 0.776 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.5815, allocations: 6.952 MB / 0.7827 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/0.5866, allocations: 2.847 MB / 0.7855 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006182/0.5928, allocations: 3.469 MB / 0.7889 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.5948, allocations: 0.5266 MB / 0.7894 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.5984, allocations: 1.176 MB / 0.7906 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003488/0.6019, allocations: 2.471 MB / 0.793 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005924/0.6079, allocations: 2.537 MB / 0.7955 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.6211, allocations: 8.538 MB / 0.8038 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6212, allocations: 0 / 0.8038 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.389e-06/0.6212, allocations: 1.062 kB / 0.8038 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.00027/0.6214, allocations: 3.938 kB / 0.8038 GB, free: 9.074 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01438/0.6358, allocations: 4.547 MB / 0.8082 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6359, allocations: 12.95 kB / 0.8083 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00189/0.6378, allocations: 0.5725 MB / 0.8088 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009382/0.6472, allocations: 1.701 MB / 0.8105 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007554/0.6548, allocations: 2.708 MB / 0.8131 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.6551, allocations: 275.3 kB / 0.8134 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003294/0.6584, allocations: 364.5 kB / 0.8137 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.6781, allocations: 7.481 MB / 0.821 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.6783, allocations: 23.83 kB / 0.8211 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001525/0.6798, allocations: 159.9 kB / 0.8212 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007043/0.6805, allocations: 483.3 kB / 0.8217 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.6931, allocations: 5.705 MB / 0.8272 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04404/0.7372, allocations: 31.54 MB / 0.858 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/0.7408, allocations: 2.091 MB / 0.8601 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003438/0.7443, allocations: 2.174 MB / 0.8622 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.7446, allocations: 17.31 kB / 0.8622 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.7446, allocations: 59.8 kB / 0.8623 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 4.559e-06/0.7446, allocations: 0 / 0.8623 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=251): time 0.3211/1.066, allocations: 77.08 MB / 0.9376 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/1.066, allocations: 77.41 kB / 0.9376 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/1.069, allocations: 1.674 MB / 0.9393 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004811/1.069, allocations: 73.69 kB / 0.9393 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/1.07, allocations: 1.795 MB / 0.9411 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/1.072, allocations: 0.8907 MB / 0.942 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/1.073, allocations: 485.4 kB / 0.9424 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.073, allocations: 301.1 kB / 0.9427 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/1.077, allocations: 2.73 MB / 0.9454 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004788/1.082, allocations: 3.332 MB / 0.9486 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009681/1.092, allocations: 6.405 MB / 0.9549 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/1.092, allocations: 4 kB / 0.9549 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03568/1.127, allocations: 14.69 MB / 0.9692 GB, free: 296 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/1.127, allocations: 12 kB / 0.9692 GB, free: 284 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.127, allocations: 16 kB / 0.9693 GB, free: 268 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03171/1.159, allocations: 9.239 MB / 0.9783 GB, free: 7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.161, allocations: 307.4 kB / 0.9786 GB, free: 6.699 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08836/1.249, allocations: 52.4 MB / 1.03 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/1.252, allocations: 223.7 kB / 1.03 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004515/1.253, allocations: 96 kB / 1.03 GB, free: 1.109 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003142/1.256, allocations: 1.59 MB / 1.032 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006746/1.256, allocations: 258.6 kB / 1.032 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03577/1.292, allocations: 14.75 MB / 1.046 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/1.292, allocations: 24 kB / 1.046 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001261/1.292, allocations: 44 kB / 1.046 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/1.292, allocations: 12.28 kB / 1.046 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04753/1.34, allocations: 20.52 MB / 1.066 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/1.34, allocations: 8 kB / 1.066 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/1.341, allocations: 159.8 kB / 1.067 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03077/1.372, allocations: 9.011 MB / 1.075 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004856/1.372, allocations: 52 kB / 1.075 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4258/1.798, allocations: 51.94 MB / 1.126 GB, free: 264.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/1.798, allocations: 9.375 kB / 1.126 GB, free: 264.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02854/1.827, allocations: 14.38 MB / 1.14 GB, free: 259.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/1.828, allocations: 0.8526 MB / 1.141 GB, free: 259.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008505/1.829, allocations: 51.86 kB / 1.141 GB, free: 259.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/1.832, allocations: 216 kB / 1.141 GB, free: 259.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001486/1.833, allocations: 241.1 kB / 1.141 GB, free: 259.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/1.834, allocations: 62.44 kB / 1.142 GB, free: 259.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001461/1.835, allocations: 1.134 MB / 1.143 GB, free: 258.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/1.835, allocations: 0 / 1.143 GB, free: 258.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005053/1.84, allocations: 1.612 MB / 1.144 GB, free: 258.3 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02854/1.869, allocations: 14.99 MB / 1.159 GB, free: 243.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02001/1.889, allocations: 10.58 MB / 1.169 GB, free: 232.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.889, allocations: 7.547 kB / 1.169 GB, free: 232.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01582/1.905, allocations: 7.34 MB / 1.176 GB, free: 225.1 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/1.908, allocations: 0.5601 MB / 1.177 GB, free: 224.6 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08352/1.992, allocations: 50.96 MB / 1.227 GB, free: 172.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/1.995, allocations: 3.22 MB / 1.23 GB, free: 169.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0009298/1.995, allocations: 392.6 kB / 1.23 GB, free: 169 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.997, allocations: 1.468 MB / 1.232 GB, free: 167.5 MB / 0.8575 GB Notification: Performance of SimCode: time 6.61e-07/1.997, allocations: 0 / 1.232 GB, free: 167.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1995/2.196, allocations: 120.8 MB / 1.35 GB, free: 47.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/16.85, allocations: 3 kB / 1.35 GB, free: 47.2 MB / 0.8575 GB " [Timeout remaining time 643] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.81283241114579] Failed to read output from testmodel.py, exit status != 0: 16.976566329831257 16.997750295 16.373014441 Calling exit ...