Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 108.4 kB / 16.4 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.001457/0.001457, 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.399/1.399, 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.06/1.06, allocations: 173.4 MB / 470.6 MB, free: 13.64 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_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.62 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1851, allocations: 89.52 MB / 0.7352 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.4125/0.5977, allocations: 33.31 MB / 0.7677 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.6173, allocations: 14.82 MB / 0.7822 GB, free: 32 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003745/0.6211, allocations: 152.7 kB / 0.7824 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.009969/0.6311, allocations: 3.65 MB / 0.7859 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.6426, allocations: 2.893 MB / 0.7887 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008176/0.6508, allocations: 2.327 MB / 0.791 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01435/0.6652, allocations: 8.808 MB / 0.7996 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01651/0.6817, allocations: 9.581 MB / 0.809 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007691/0.6895, allocations: 3.951 MB / 0.8128 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007986/0.6975, allocations: 4.049 MB / 0.8168 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002331/0.6998, allocations: 0.717 MB / 0.8175 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005238/0.7051, allocations: 1.712 MB / 0.8192 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004746/0.7099, allocations: 2.828 MB / 0.8219 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008085/0.718, allocations: 3.392 MB / 0.8252 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.7353, allocations: 11.22 MB / 0.8362 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.7354, allocations: 0 / 0.8362 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7354, allocations: 0 / 0.8362 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004438/0.7359, allocations: 4 kB / 0.8362 GB, free: 12.56 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01652/0.7524, allocations: 6.128 MB / 0.8422 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7524, allocations: 8.031 kB / 0.8422 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001525/0.754, allocations: 0.7232 MB / 0.8429 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0071/0.7611, allocations: 1.176 MB / 0.844 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007541/0.7687, allocations: 3.534 MB / 0.8475 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000315/0.769, allocations: 374.4 kB / 0.8478 GB, free: 460 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/0.7703, allocations: 0.496 MB / 0.8483 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.7853, allocations: 8.001 MB / 0.8561 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.7855, allocations: 27.78 kB / 0.8562 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005866/0.7861, allocations: 216 kB / 0.8564 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001098/0.7872, allocations: 433.6 kB / 0.8568 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.7991, allocations: 6.085 MB / 0.8627 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04377/0.8428, allocations: 34.96 MB / 0.8969 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/0.846, allocations: 2.018 MB / 0.8988 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002754/0.8488, allocations: 1.881 MB / 0.9007 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.8489, allocations: 18 kB / 0.9007 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.849, allocations: 60.5 kB / 0.9008 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=171): time 3.537e-06/0.849, allocations: 0 / 0.9008 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276): time 0.1658/1.015, allocations: 38.97 MB / 0.9388 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/1.015, allocations: 81.56 kB / 0.9389 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003752/1.019, allocations: 2.278 MB / 0.9411 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000367/1.019, allocations: 73.7 kB / 0.9412 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001791/1.021, allocations: 2.342 MB / 0.9435 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.022, allocations: 0.976 MB / 0.9444 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/1.023, allocations: 0.5103 MB / 0.9449 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.023, allocations: 313 kB / 0.9452 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003327/1.027, allocations: 1.973 MB / 0.9472 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004258/1.031, allocations: 2.599 MB / 0.9497 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007722/1.039, allocations: 4.929 MB / 0.9545 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-05/1.039, allocations: 11.98 kB / 0.9545 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0161/1.055, allocations: 7.767 MB / 0.9621 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/1.055, allocations: 16 kB / 0.9621 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/1.055, allocations: 16 kB / 0.9621 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009788/1.065, allocations: 3.211 MB / 0.9653 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/1.067, allocations: 403.3 kB / 0.9657 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05063/1.117, allocations: 33.9 MB / 0.9988 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/1.12, allocations: 159.8 kB / 0.9989 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004998/1.121, allocations: 108 kB / 0.999 GB, free: 0.543 MB / 0.7794 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00399/1.125, allocations: 1.799 MB / 1.001 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.126, allocations: 357.8 kB / 1.001 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/1.143, allocations: 7.364 MB / 1.008 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/1.143, allocations: 24 kB / 1.008 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001155/1.143, allocations: 32 kB / 1.008 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-05/1.143, allocations: 19.94 kB / 1.008 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02734/1.17, allocations: 12.92 MB / 1.021 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/1.17, allocations: 8.844 kB / 1.021 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.171, allocations: 227.6 kB / 1.021 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008803/1.18, allocations: 2.858 MB / 1.024 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003813/1.181, allocations: 52 kB / 1.024 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04779/1.229, allocations: 32.69 MB / 1.056 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/1.229, allocations: 11.94 kB / 1.056 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.242, allocations: 6.908 MB / 1.063 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/1.244, allocations: 0.7917 MB / 1.064 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008552/1.245, allocations: 52 kB / 1.064 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/1.248, allocations: 168.1 kB / 1.064 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/1.249, allocations: 253.5 kB / 1.064 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003233/1.249, allocations: 76 kB / 1.064 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002931/1.252, allocations: 1.525 MB / 1.066 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/1.252, allocations: 0 / 1.066 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005146/1.257, allocations: 1.372 MB / 1.067 GB, free: 9.68 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/1.272, allocations: 7.536 MB / 1.074 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.3445/1.616, allocations: 6.948 MB / 1.081 GB, free: 275.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/1.616, allocations: 2.531 kB / 1.081 GB, free: 275.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.008959/1.625, allocations: 4.428 MB / 1.085 GB, free: 274.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/1.631, allocations: 1.109 MB / 1.086 GB, free: 274.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0678/1.698, allocations: 39.18 MB / 1.125 GB, free: 262.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004912/1.703, allocations: 3.646 MB / 1.128 GB, free: 261.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00229/1.706, allocations: 0.5532 MB / 1.129 GB, free: 261.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002424/1.708, allocations: 1.972 MB / 1.131 GB, free: 259.7 MB / 0.8575 GB Notification: Performance of SimCode: time 1.022e-06/1.708, allocations: 0 / 1.131 GB, free: 259.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2069/1.915, allocations: 111.6 MB / 1.24 GB, free: 157.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/18.98, allocations: 3.094 kB / 1.24 GB, free: 157.1 MB / 0.8575 GB " [Timeout remaining time 641] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.84897996496875] Failed to read output from testmodel.py, exit status != 0: 19.11948111001402 19.137217405 18.398654212 Calling exit ...