Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00136/0.00136, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001305/0.001305, 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.396/1.396, allocations: 222.9 MB / 245 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.043/1.043, allocations: 173.4 MB / 470.6 MB, free: 13.62 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 72.8 kB / 0.6478 GB, free: 11.76 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1852, allocations: 89.51 MB / 0.7352 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.4181/0.6033, allocations: 32.59 MB / 0.767 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.6217, allocations: 10.25 MB / 0.777 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00398/0.6257, allocations: 148.7 kB / 0.7772 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009197/0.635, allocations: 3.723 MB / 0.7808 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00697/0.642, allocations: 1.845 MB / 0.7826 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006417/0.6484, allocations: 2.133 MB / 0.7847 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.6601, allocations: 7.34 MB / 0.7919 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01389/0.6741, allocations: 9.413 MB / 0.8011 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007321/0.6815, allocations: 3.172 MB / 0.8042 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007517/0.689, allocations: 3.496 MB / 0.8076 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003118/0.6922, allocations: 0.6454 MB / 0.8082 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006207/0.6984, allocations: 1.766 MB / 0.8099 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004738/0.7032, allocations: 2.543 MB / 0.8124 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007331/0.7106, allocations: 2.901 MB / 0.8153 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.7258, allocations: 10.14 MB / 0.8252 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.7259, allocations: 0 / 0.8252 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.856e-06/0.7259, allocations: 0 / 0.8252 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004055/0.7263, allocations: 4 kB / 0.8252 GB, free: 7.891 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01408/0.7404, allocations: 5.12 MB / 0.8302 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.7405, allocations: 8.031 kB / 0.8302 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001981/0.7424, allocations: 0.682 MB / 0.8308 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006425/0.7489, allocations: 0.9852 MB / 0.8318 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007068/0.756, allocations: 3.055 MB / 0.8348 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003855/0.7564, allocations: 345.7 kB / 0.8351 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/0.7584, allocations: 464.3 kB / 0.8355 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.7775, allocations: 7.667 MB / 0.843 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003275/0.7778, allocations: 31.77 kB / 0.8431 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/0.7794, allocations: 208 kB / 0.8433 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004565/0.7798, allocations: 308.9 kB / 0.8436 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.7938, allocations: 5.706 MB / 0.8491 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04695/0.8408, allocations: 34.89 MB / 0.8832 GB, free: 8.723 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.844, allocations: 2.161 MB / 0.8853 GB, free: 6.445 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.846, allocations: 1.268 MB / 0.8866 GB, free: 5.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.8461, allocations: 17.31 kB / 0.8866 GB, free: 5.164 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.8462, allocations: 47.88 kB / 0.8866 GB, free: 5.109 MB / 0.67 GB Notification: Performance of pre-optimization done (n=133): time 3.376e-06/0.8462, allocations: 0 / 0.8866 GB, free: 5.109 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.01543/0.8616, allocations: 7.145 MB / 0.8936 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.8617, allocations: 72.66 kB / 0.8937 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.8646, allocations: 1.48 MB / 0.8951 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/0.8648, allocations: 45.7 kB / 0.8951 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.8664, allocations: 2.069 MB / 0.8972 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007725/0.8672, allocations: 0.4996 MB / 0.8977 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000775/0.868, allocations: 359.3 kB / 0.898 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8682, allocations: 305.1 kB / 0.8983 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.8697, allocations: 0.9096 MB / 0.8992 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.8718, allocations: 1.589 MB / 0.9007 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/0.8757, allocations: 2.733 MB / 0.9034 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/0.8757, allocations: 8 kB / 0.9034 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006754/0.8825, allocations: 3.539 MB / 0.9069 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.8826, allocations: 15.94 kB / 0.9069 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.8826, allocations: 24 kB / 0.9069 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/0.8853, allocations: 0.9041 MB / 0.9078 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.8866, allocations: 351.4 kB / 0.9081 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0253/0.9119, allocations: 23.11 MB / 0.9307 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.9136, allocations: 104 kB / 0.9308 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/0.9139, allocations: 84 kB / 0.9309 GB, free: 5.039 MB / 0.7169 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002961/0.9169, allocations: 1.612 MB / 0.9324 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/0.9175, allocations: 214.6 kB / 0.9326 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/0.9233, allocations: 2.994 MB / 0.9356 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.9233, allocations: 16 kB / 0.9356 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/0.9233, allocations: 8 kB / 0.9356 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.9234, allocations: 12.25 kB / 0.9356 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.9378, allocations: 7.333 MB / 0.9428 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.9379, allocations: 8 kB / 0.9428 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008332/0.9387, allocations: 183.7 kB / 0.9429 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002513/0.9413, allocations: 0.8258 MB / 0.9438 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.9414, allocations: 24 kB / 0.9438 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02232/0.9637, allocations: 21.96 MB / 0.9652 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.9638, allocations: 7.938 kB / 0.9652 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/0.9695, allocations: 3.034 MB / 0.9682 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009661/0.9705, allocations: 471.6 kB / 0.9686 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/0.9709, allocations: 31.98 kB / 0.9687 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009466/0.9719, allocations: 71.92 kB / 0.9687 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.9723, allocations: 124.7 kB / 0.9689 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.811e-05/0.9724, allocations: 36 kB / 0.9689 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001575/0.9739, allocations: 0.9795 MB / 0.9698 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/0.974, allocations: 0 / 0.9698 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002767/0.9767, allocations: 0.7852 MB / 0.9706 GB, free: 10.16 MB / 0.7637 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005558/0.9823, allocations: 3.631 MB / 0.9742 GB, free: 6.41 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006174/0.9885, allocations: 4.038 MB / 0.9781 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.9885, allocations: 0 / 0.9781 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004065/0.9926, allocations: 2.749 MB / 0.9808 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/0.9961, allocations: 0.7333 MB / 0.9815 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04046/1.037, allocations: 22.46 MB / 1.003 GB, free: 7.121 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004545/1.041, allocations: 3.109 MB / 1.006 GB, free: 3.984 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001463/1.043, allocations: 454 kB / 1.007 GB, free: 3.539 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/1.045, allocations: 1.534 MB / 1.008 GB, free: 2.004 MB / 0.795 GB Notification: Performance of SimCode: time 9.02e-07/1.045, allocations: 4 kB / 1.008 GB, free: 2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1356/1.18, allocations: 61.37 MB / 1.068 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.71, allocations: 12.3 kB / 1.068 GB, free: 5.227 MB / 0.8575 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.931844916078262] Failed to read output from testmodel.py, exit status != 0: 14.824941589031368 15.179310292 14.45127544 Calling exit ...