Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001724/0.001724, allocations: 111.7 kB / 17.96 MB, free: 3.918 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.002239/0.002239, allocations: 193.5 kB / 21.22 MB, free: 0.668 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.453/1.453, allocations: 225.6 MB / 249.9 MB, free: 13.38 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.124/1.124, allocations: 175.7 MB / 480.8 MB, free: 7.867 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 69.7 kB / 0.6688 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1894, allocations: 94.53 MB / 0.7611 GB, free: 76 kB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.422/0.6114, allocations: 7.054 MB / 0.768 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00527/0.6166, allocations: 3.186 MB / 0.7711 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008082/0.6174, allocations: 28.12 kB / 0.7711 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.6199, allocations: 0.9834 MB / 0.7721 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.6214, allocations: 0.5245 MB / 0.7726 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.6225, allocations: 453.9 kB / 0.773 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.6242, allocations: 1.23 MB / 0.7742 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009637/0.6252, allocations: 480.7 kB / 0.7747 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009429/0.6261, allocations: 478.8 kB / 0.7751 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008118/0.6269, allocations: 0.5564 MB / 0.7757 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.627, allocations: 66.81 kB / 0.7757 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008032/0.6278, allocations: 387.3 kB / 0.7761 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.6281, allocations: 318 kB / 0.7764 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.6285, allocations: 450.7 kB / 0.7768 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.6301, allocations: 1.227 MB / 0.778 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6301, allocations: 4.547 kB / 0.778 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6301, allocations: 0 / 0.778 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.6301, allocations: 0 / 0.778 GB, free: 15.97 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002263/0.6324, allocations: 1.19 MB / 0.7792 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6324, allocations: 10.22 kB / 0.7792 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.6326, allocations: 121.4 kB / 0.7793 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.6342, allocations: 248.7 kB / 0.7796 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.6353, allocations: 0.6092 MB / 0.7802 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.6353, allocations: 46.69 kB / 0.7802 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.6355, allocations: 63.3 kB / 0.7803 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.637, allocations: 1.087 MB / 0.7813 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.6371, allocations: 13.22 kB / 0.7813 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-05/0.6372, allocations: 32.59 kB / 0.7814 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.6373, allocations: 85.36 kB / 0.7815 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.6385, allocations: 0.7493 MB / 0.7822 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00629/0.6448, allocations: 5.885 MB / 0.7879 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.6458, allocations: 0.514 MB / 0.7884 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004651/0.6463, allocations: 285.6 kB / 0.7887 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.6463, allocations: 7.156 kB / 0.7887 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.6464, allocations: 39.7 kB / 0.7888 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.6464, allocations: 0 / 0.7888 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004901/0.6513, allocations: 1.993 MB / 0.7907 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.6513, allocations: 65.09 kB / 0.7908 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.6526, allocations: 0.5603 MB / 0.7913 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.6527, allocations: 32.02 kB / 0.7913 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.6531, allocations: 431.2 kB / 0.7918 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.6534, allocations: 180.5 kB / 0.7919 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.6536, allocations: 128.7 kB / 0.792 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000261/0.6539, allocations: 378.8 kB / 0.7924 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.6545, allocations: 271.2 kB / 0.7927 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008283/0.6553, allocations: 497.9 kB / 0.7931 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.6567, allocations: 0.8117 MB / 0.7939 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.6567, allocations: 2.25 kB / 0.7939 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002327/0.659, allocations: 1.079 MB / 0.795 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.659, allocations: 8.219 kB / 0.795 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.659, allocations: 7.688 kB / 0.795 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008918/0.6599, allocations: 277.1 kB / 0.7953 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.6604, allocations: 125.1 kB / 0.7954 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007606/0.668, allocations: 7.144 MB / 0.8024 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/0.6688, allocations: 35.34 kB / 0.8024 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.6688, allocations: 31.97 kB / 0.8024 GB, free: 14.14 MB / 0.6075 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0005067/0.6693, allocations: 256.6 kB / 0.8027 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6695, allocations: 76.06 kB / 0.8027 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.6713, allocations: 0.8759 MB / 0.8036 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.6713, allocations: 5.344 kB / 0.8036 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.6713, allocations: 6.969 kB / 0.8036 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.6713, allocations: 7.734 kB / 0.8036 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.6743, allocations: 1.721 MB / 0.8053 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6743, allocations: 5.156 kB / 0.8053 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.6746, allocations: 60.72 kB / 0.8054 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007759/0.6753, allocations: 263 kB / 0.8056 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.6754, allocations: 12.5 kB / 0.8056 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007081/0.6825, allocations: 7.132 MB / 0.8126 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6825, allocations: 2.75 kB / 0.8126 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.6842, allocations: 0.979 MB / 0.8136 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.6845, allocations: 197.9 kB / 0.8137 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.6845, allocations: 15.09 kB / 0.8138 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.6849, allocations: 25.03 kB / 0.8138 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.685, allocations: 44.28 kB / 0.8138 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.6851, allocations: 14.62 kB / 0.8138 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004896/0.6855, allocations: 387.2 kB / 0.8142 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6855, allocations: 5.094 kB / 0.8142 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008838/0.6864, allocations: 224.7 kB / 0.8144 GB, free: 5.207 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/0.6883, allocations: 1.539 MB / 0.8159 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.6904, allocations: 1.232 MB / 0.8171 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6904, allocations: 0 / 0.8171 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.6916, allocations: 0.871 MB / 0.818 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.6927, allocations: 235.2 kB / 0.8182 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008975/0.7016, allocations: 6.392 MB / 0.8244 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/0.7023, allocations: 1.008 MB / 0.8254 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004357/0.7027, allocations: 134.1 kB / 0.8256 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.7031, allocations: 256.7 kB / 0.8258 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of SimCode: time 1.363e-06/0.7031, allocations: 0.8125 kB / 0.8258 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0874/0.7905, allocations: 17.68 MB / 0.8431 GB, free: 444 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.02, allocations: 8.641 kB / 0.8431 GB, free: 440 kB / 0.6231 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.334363513975404] Failed to read output from testmodel.py, exit status != 0: 12.113391859922558 12.137470479 11.502589463 Calling exit ...