Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 216.5 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9891/0.9891, allocations: 149.9 MB / 463.1 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 70.92 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2083, allocations: 89.17 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008849/0.2171, allocations: 5.967 MB / 0.734 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005605/0.2227, allocations: 3.161 MB / 0.7371 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005956/0.2233, allocations: 39.62 kB / 0.7371 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.2262, allocations: 0.9174 MB / 0.738 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.2277, allocations: 497.5 kB / 0.7385 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.2291, allocations: 0.4964 MB / 0.739 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001813/0.2309, allocations: 1.108 MB / 0.7401 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009707/0.2319, allocations: 0.5064 MB / 0.7406 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009359/0.2328, allocations: 470.3 kB / 0.741 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008897/0.2337, allocations: 478 kB / 0.7415 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.2339, allocations: 60 kB / 0.7415 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.2349, allocations: 447 kB / 0.7419 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.2353, allocations: 291.1 kB / 0.7422 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006074/0.2359, allocations: 330.5 kB / 0.7425 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.2377, allocations: 1.187 MB / 0.7437 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2377, allocations: 0 / 0.7437 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2377, allocations: 0 / 0.7437 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.358e-05/0.2378, allocations: 0 / 0.7437 GB, free: 1.043 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002374/0.2402, allocations: 1.022 MB / 0.7447 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2402, allocations: 12.03 kB / 0.7447 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/0.2404, allocations: 114.6 kB / 0.7448 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.242, allocations: 220.2 kB / 0.745 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.2432, allocations: 0.5282 MB / 0.7455 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.2433, allocations: 45.69 kB / 0.7456 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.2434, allocations: 64.36 kB / 0.7456 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.2452, allocations: 1.134 MB / 0.7467 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/0.2452, allocations: 11.89 kB / 0.7468 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.2453, allocations: 24 kB / 0.7468 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.2455, allocations: 69.27 kB / 0.7468 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.2468, allocations: 0.6957 MB / 0.7475 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00605/0.2528, allocations: 4.498 MB / 0.7519 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.2536, allocations: 402.4 kB / 0.7523 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008597/0.2545, allocations: 392.5 kB / 0.7527 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.2545, allocations: 7.938 kB / 0.7527 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.2545, allocations: 43.23 kB / 0.7527 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.024e-06/0.2545, allocations: 0 / 0.7527 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.004483/0.259, allocations: 1.718 MB / 0.7544 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.2591, allocations: 63.41 kB / 0.7545 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000626/0.2597, allocations: 474.7 kB / 0.7549 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.2597, allocations: 33.7 kB / 0.755 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.2601, allocations: 392.1 kB / 0.7553 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.2603, allocations: 158.7 kB / 0.7555 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2604, allocations: 110.3 kB / 0.7556 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.2607, allocations: 362.8 kB / 0.7559 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.261, allocations: 245.2 kB / 0.7562 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.2616, allocations: 460.9 kB / 0.7566 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.2627, allocations: 0.7478 MB / 0.7573 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2627, allocations: 0 / 0.7573 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002064/0.2648, allocations: 1.031 MB / 0.7583 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.2648, allocations: 14.12 kB / 0.7584 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.2648, allocations: 11.94 kB / 0.7584 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.2659, allocations: 323.5 kB / 0.7587 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.2663, allocations: 95.83 kB / 0.7588 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4169/0.6831, allocations: 7.015 MB / 0.7656 GB, free: 29.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.6836, allocations: 30.17 kB / 0.7656 GB, free: 29.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.6836, allocations: 25.03 kB / 0.7657 GB, free: 29.64 MB / 0.5762 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003044/0.6839, allocations: 245.6 kB / 0.7659 GB, free: 29.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.684, allocations: 67.48 kB / 0.766 GB, free: 29.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.6855, allocations: 0.8807 MB / 0.7668 GB, free: 29.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6855, allocations: 5.5 kB / 0.7668 GB, free: 29.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6855, allocations: 8.062 kB / 0.7668 GB, free: 29.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.6855, allocations: 5.109 kB / 0.7668 GB, free: 29.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.6881, allocations: 1.576 MB / 0.7684 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6881, allocations: 3.062 kB / 0.7684 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.6883, allocations: 42.52 kB / 0.7684 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009127/0.6892, allocations: 307.9 kB / 0.7687 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.6893, allocations: 8.75 kB / 0.7687 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/0.6951, allocations: 7.015 MB / 0.7756 GB, free: 24.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6951, allocations: 1.125 kB / 0.7756 GB, free: 24.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.6968, allocations: 0.9843 MB / 0.7765 GB, free: 23.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.6972, allocations: 97.41 kB / 0.7766 GB, free: 23.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.6972, allocations: 11.28 kB / 0.7766 GB, free: 23.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.6975, allocations: 24.75 kB / 0.7767 GB, free: 23.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.6977, allocations: 47.61 kB / 0.7767 GB, free: 23.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.6977, allocations: 12.22 kB / 0.7767 GB, free: 23.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004016/0.6981, allocations: 312.9 kB / 0.777 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6981, allocations: 0 / 0.777 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008646/0.699, allocations: 196.7 kB / 0.7772 GB, free: 23.73 MB / 0.5762 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002006/0.701, allocations: 1.522 MB / 0.7787 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.7029, allocations: 1.158 MB / 0.7798 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7029, allocations: 1.312 kB / 0.7798 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.7041, allocations: 0.8354 MB / 0.7806 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.7051, allocations: 207.3 kB / 0.7808 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008696/0.7138, allocations: 5.877 MB / 0.7866 GB, free: 18.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.7145, allocations: 395.5 kB / 0.787 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004088/0.7149, allocations: 101 kB / 0.7871 GB, free: 18.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.7151, allocations: 228.2 kB / 0.7873 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.7151, allocations: 0 / 0.7873 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08181/0.797, allocations: 16.97 MB / 0.8038 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.94, allocations: 3.641 kB / 0.8038 GB, free: 12.24 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.854172388091683] Failed to read output from testmodel.py, exit status != 0: 13.06847253581509 13.090614021 12.848789222 Calling exit ...