Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001172/0.001172, allocations: 108.6 kB / 16.4 MB, free: 6.504 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.001236/0.001236, allocations: 192.5 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.417/1.417, 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.116/1.116, allocations: 173.4 MB / 470.6 MB, free: 13.64 MB / 382.1 MB " [Timeout remaining time 178] 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_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 72.44 kB / 0.6478 GB, free: 11.81 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2074, allocations: 89.51 MB / 0.7352 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4634/0.6709, allocations: 37.93 MB / 0.7722 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01948/0.6904, allocations: 11 MB / 0.783 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00529/0.6957, allocations: 153.6 kB / 0.7831 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01312/0.709, allocations: 4.357 MB / 0.7874 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008013/0.717, allocations: 2.222 MB / 0.7896 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007067/0.7241, allocations: 2.176 MB / 0.7917 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01346/0.7376, allocations: 9.288 MB / 0.8007 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01703/0.7546, allocations: 11.27 MB / 0.8118 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008457/0.7631, allocations: 4.003 MB / 0.8157 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00878/0.7719, allocations: 4.508 MB / 0.8201 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002605/0.7746, allocations: 0.8217 MB / 0.8209 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005916/0.7805, allocations: 1.588 MB / 0.8224 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006158/0.7867, allocations: 3.154 MB / 0.8255 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008645/0.7954, allocations: 3.653 MB / 0.8291 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01724/0.8127, allocations: 12.35 MB / 0.8411 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.8127, allocations: 0 / 0.8411 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8127, allocations: 0 / 0.8411 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000394/0.8131, allocations: 4 kB / 0.8411 GB, free: 7.422 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01878/0.8319, allocations: 6.463 MB / 0.8474 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.832, allocations: 12.03 kB / 0.8474 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003138/0.8351, allocations: 0.8294 MB / 0.8483 GB, free: 28 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006829/0.842, allocations: 1.097 MB / 0.8493 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00802/0.85, allocations: 3.636 MB / 0.8529 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004759/0.8506, allocations: 427.7 kB / 0.8533 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/0.8528, allocations: 0.5433 MB / 0.8538 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02402/0.8768, allocations: 9.37 MB / 0.863 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003422/0.8772, allocations: 23.83 kB / 0.863 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002428/0.8796, allocations: 251.9 kB / 0.8632 GB, free: 308 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007986/0.8804, allocations: 422.9 kB / 0.8636 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.8975, allocations: 7.127 MB / 0.8706 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06178/0.9593, allocations: 41.06 MB / 0.9107 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005679/0.9651, allocations: 3.104 MB / 0.9137 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003668/0.9688, allocations: 2.149 MB / 0.9158 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.969, allocations: 22 kB / 0.9158 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.011e-05/0.969, allocations: 68.56 kB / 0.9159 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=209): time 4.298e-06/0.9691, allocations: 0 / 0.9159 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=212): time 0.02935/0.9984, allocations: 10.62 MB / 0.9263 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.9985, allocations: 77.41 kB / 0.9264 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/1.003, allocations: 2.013 MB / 0.9283 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004473/1.003, allocations: 61.7 kB / 0.9284 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.005, allocations: 2.47 MB / 0.9308 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.006, allocations: 0.7668 MB / 0.9315 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/1.007, allocations: 481.5 kB / 0.932 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.008, allocations: 309.1 kB / 0.9323 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/1.01, allocations: 1.372 MB / 0.9336 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/1.014, allocations: 2.108 MB / 0.9357 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006174/1.02, allocations: 3.77 MB / 0.9394 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/1.02, allocations: 8 kB / 0.9394 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01/1.03, allocations: 5.078 MB / 0.9443 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/1.03, allocations: 12 kB / 0.9444 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.03, allocations: 24 kB / 0.9444 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/1.034, allocations: 1.589 MB / 0.9459 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/1.036, allocations: 455.2 kB / 0.9464 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02683/1.063, allocations: 18.58 MB / 0.9645 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/1.065, allocations: 147.8 kB / 0.9646 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005073/1.066, allocations: 115.9 kB / 0.9648 GB, free: 3.18 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004519/1.071, allocations: 1.937 MB / 0.9667 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.072, allocations: 298.2 kB / 0.9669 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009336/1.081, allocations: 4.455 MB / 0.9713 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.081, allocations: 24 kB / 0.9713 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.882e-05/1.081, allocations: 19.94 kB / 0.9713 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/1.081, allocations: 7.969 kB / 0.9713 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02082/1.102, allocations: 9.683 MB / 0.9808 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/1.102, allocations: 4 kB / 0.9808 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.103, allocations: 231.6 kB / 0.981 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003702/1.107, allocations: 1.425 MB / 0.9824 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003119/1.107, allocations: 40 kB / 0.9824 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/1.134, allocations: 18.59 MB / 1.001 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.134, allocations: 4 kB / 1.001 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009841/1.144, allocations: 4.557 MB / 1.005 GB, free: 9.062 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/1.146, allocations: 0.6436 MB / 1.006 GB, free: 8.398 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008041/1.147, allocations: 43.95 kB / 1.006 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/1.149, allocations: 115.9 kB / 1.006 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006758/1.15, allocations: 181.6 kB / 1.006 GB, free: 8.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/1.15, allocations: 60 kB / 1.006 GB, free: 8.008 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002495/1.152, allocations: 1.315 MB / 1.007 GB, free: 6.684 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.152, allocations: 0 / 1.007 GB, free: 6.684 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004144/1.157, allocations: 1.141 MB / 1.008 GB, free: 5.543 MB / 0.795 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008927/1.165, allocations: 5.169 MB / 1.014 GB, free: 284 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009023/1.175, allocations: 4.735 MB / 1.018 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.175, allocations: 4 kB / 1.018 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.005655/1.18, allocations: 2.926 MB / 1.021 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005376/1.186, allocations: 0.8844 MB / 1.022 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06193/1.248, allocations: 30.55 MB / 1.052 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006025/1.254, allocations: 3.694 MB / 1.055 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002056/1.256, allocations: 0.5595 MB / 1.056 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002743/1.259, allocations: 1.948 MB / 1.058 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of SimCode: time 9.92e-07/1.259, allocations: 3.938 kB / 1.058 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5264/1.785, allocations: 85.23 MB / 1.141 GB, free: 246.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/16.84, allocations: 2.062 kB / 1.141 GB, free: 246.2 MB / 0.8575 GB " [Timeout remaining time 643] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.854208503034897] Failed to read output from testmodel.py, exit status != 0: 16.96360848005861 16.973438509 16.158678964 Calling exit ...