Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001306/0.001306, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.001287/0.001287, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.409/1.409, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.061/1.061, allocations: 173.4 MB / 470.6 MB, free: 13.63 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.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002469/0.002469, allocations: 73.55 kB / 0.6478 GB, free: 11.79 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1896, allocations: 89.51 MB / 0.7352 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.4127/0.6023, allocations: 34.82 MB / 0.7692 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.6202, allocations: 11.49 MB / 0.7804 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004022/0.6243, allocations: 159.4 kB / 0.7806 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.6364, allocations: 4.254 MB / 0.7847 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008868/0.6452, allocations: 1.986 MB / 0.7867 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008897/0.6542, allocations: 2.405 MB / 0.789 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01333/0.6675, allocations: 8.475 MB / 0.7973 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02085/0.6884, allocations: 11.13 MB / 0.8082 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008344/0.6968, allocations: 3.747 MB / 0.8118 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008081/0.7049, allocations: 4.185 MB / 0.8159 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003042/0.708, allocations: 0.7789 MB / 0.8167 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/0.7143, allocations: 2.028 MB / 0.8187 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005487/0.7199, allocations: 3.053 MB / 0.8216 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007423/0.7273, allocations: 3.396 MB / 0.825 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.745, allocations: 12.02 MB / 0.8367 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.745, allocations: 4 kB / 0.8367 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.485e-06/0.745, allocations: 0 / 0.8367 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004688/0.7455, allocations: 0 / 0.8367 GB, free: 12.13 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01729/0.7628, allocations: 5.942 MB / 0.8425 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.7629, allocations: 8.031 kB / 0.8425 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00269/0.7656, allocations: 0.809 MB / 0.8433 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007116/0.7727, allocations: 1.086 MB / 0.8444 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007718/0.7805, allocations: 3.471 MB / 0.8477 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005016/0.781, allocations: 419.5 kB / 0.8481 GB, free: 256 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/0.7832, allocations: 0.5315 MB / 0.8487 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/0.8035, allocations: 9.079 MB / 0.8575 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002467/0.8038, allocations: 39.7 kB / 0.8576 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/0.805, allocations: 232 kB / 0.8578 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004192/0.8055, allocations: 350.8 kB / 0.8581 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.8188, allocations: 6.83 MB / 0.8648 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04679/0.8656, allocations: 39.86 MB / 0.9037 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004028/0.8697, allocations: 3.118 MB / 0.9068 GB, free: 36 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/0.8725, allocations: 1.978 MB / 0.9087 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.8726, allocations: 18 kB / 0.9087 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.8727, allocations: 52.56 kB / 0.9088 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=179): time 3.246e-06/0.8727, allocations: 0 / 0.9088 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.02534/0.898, allocations: 10.05 MB / 0.9186 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.8981, allocations: 73.41 kB / 0.9186 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.9002, allocations: 1.526 MB / 0.9201 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.9004, allocations: 53.7 kB / 0.9202 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.902, allocations: 2.327 MB / 0.9225 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006336/0.9026, allocations: 0.6623 MB / 0.9231 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006223/0.9033, allocations: 408.1 kB / 0.9235 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9034, allocations: 309 kB / 0.9238 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.9051, allocations: 1.176 MB / 0.9249 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.9074, allocations: 1.889 MB / 0.9268 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004423/0.9118, allocations: 3.367 MB / 0.9301 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.9118, allocations: 4 kB / 0.9301 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008049/0.9199, allocations: 4.593 MB / 0.9346 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.92, allocations: 16 kB / 0.9346 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.92, allocations: 24.84 kB / 0.9346 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/0.9239, allocations: 1.572 MB / 0.9361 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.9252, allocations: 355.4 kB / 0.9365 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02481/0.95, allocations: 18.62 MB / 0.9547 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.9518, allocations: 119.9 kB / 0.9548 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.9521, allocations: 92.38 kB / 0.9549 GB, free: 13.37 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003089/0.9552, allocations: 1.894 MB / 0.9567 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.9557, allocations: 234.5 kB / 0.9569 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/0.9631, allocations: 4.09 MB / 0.9609 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.9632, allocations: 19.98 kB / 0.9609 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/0.9632, allocations: 20 kB / 0.961 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.9633, allocations: 16.02 kB / 0.961 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.9788, allocations: 9.47 MB / 0.9702 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.9788, allocations: 4 kB / 0.9702 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.9797, allocations: 183.7 kB / 0.9704 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003556/0.9832, allocations: 1.347 MB / 0.9717 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.9834, allocations: 36 kB / 0.9718 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02242/1.006, allocations: 17.36 MB / 0.9887 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.006, allocations: 4 kB / 0.9887 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006923/1.013, allocations: 4.087 MB / 0.9927 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009792/1.014, allocations: 0.5385 MB / 0.9932 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/1.014, allocations: 43.94 kB / 0.9933 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009148/1.015, allocations: 83.89 kB / 0.9934 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/1.015, allocations: 165.6 kB / 0.9935 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.016, allocations: 48 kB / 0.9936 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001378/1.017, allocations: 1.008 MB / 0.9945 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.017, allocations: 0 / 0.9945 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002729/1.02, allocations: 0.9844 MB / 0.9955 GB, free: 2.754 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007256/1.027, allocations: 4.676 MB / 1 GB, free: 13.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007083/1.034, allocations: 4.307 MB / 1.004 GB, free: 9.621 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.034, allocations: 0 / 1.004 GB, free: 9.621 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004491/1.039, allocations: 2.666 MB / 1.007 GB, free: 6.91 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/1.042, allocations: 0.7897 MB / 1.008 GB, free: 6.148 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04359/1.086, allocations: 26.98 MB / 1.034 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0043/1.09, allocations: 3.573 MB / 1.037 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001294/1.091, allocations: 467.9 kB / 1.038 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/1.093, allocations: 1.788 MB / 1.04 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/1.093, allocations: 3.938 kB / 1.04 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.493/1.586, allocations: 73.87 MB / 1.112 GB, free: 266.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/15.41, allocations: 11.67 kB / 1.112 GB, free: 266.3 MB / 0.8575 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_ACLine_L_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.224147546919994] Failed to read output from testmodel.py, exit status != 0: 15.530194554943591 15.547977045 14.799772203 Calling exit ...