Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001298/0.001298, allocations: 117.7 kB / 17.13 MB, free: 5.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.001291/0.001291, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.44/1.44, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8346/0.8346, allocations: 129.2 MB / 432.5 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003213, allocations: 71.83 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4579, allocations: 83.44 MB / 0.6802 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.05933/0.5172, allocations: 33.82 MB / 0.7132 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03402/0.5512, allocations: 14.96 MB / 0.7278 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004511/0.5557, allocations: 155.2 kB / 0.728 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.5664, allocations: 3.714 MB / 0.7316 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.5777, allocations: 3.001 MB / 0.7345 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008359/0.5861, allocations: 2.323 MB / 0.7368 GB, free: 3.828 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01553/0.6016, allocations: 8.805 MB / 0.7454 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01678/0.6184, allocations: 7.235 MB / 0.7525 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.6285, allocations: 4.02 MB / 0.7564 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008004/0.6365, allocations: 4.256 MB / 0.7606 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002312/0.6389, allocations: 0.7148 MB / 0.7613 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00478/0.6436, allocations: 1.755 MB / 0.763 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005086/0.6487, allocations: 2.895 MB / 0.7658 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00786/0.6566, allocations: 3.392 MB / 0.7691 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01774/0.6743, allocations: 11.22 MB / 0.7801 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6743, allocations: 0 / 0.7801 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6743, allocations: 0 / 0.7801 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000394/0.6747, allocations: 4 kB / 0.7801 GB, free: 7.309 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02069/0.6954, allocations: 6.132 MB / 0.7861 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.163e-05/0.6955, allocations: 8.031 kB / 0.7861 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003296/0.6988, allocations: 0.7232 MB / 0.7868 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008797/0.7076, allocations: 1.168 MB / 0.7879 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.7178, allocations: 3.542 MB / 0.7914 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004525/0.7183, allocations: 378.4 kB / 0.7917 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001863/0.7201, allocations: 499.8 kB / 0.7922 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/0.7373, allocations: 8.005 MB / 0.8 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/0.7375, allocations: 23.78 kB / 0.8 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/0.7388, allocations: 216 kB / 0.8003 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001059/0.7398, allocations: 437.6 kB / 0.8007 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.7525, allocations: 6.081 MB / 0.8066 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05162/0.8042, allocations: 34.96 MB / 0.8407 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.8073, allocations: 1.919 MB / 0.8426 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/0.8101, allocations: 1.756 MB / 0.8443 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.8102, allocations: 18 kB / 0.8444 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.8103, allocations: 56.5 kB / 0.8444 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=171): time 3.647e-06/0.8103, allocations: 0 / 0.8444 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=276): time 0.4673/1.278, allocations: 38.85 MB / 0.8823 GB, free: 172 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/1.278, allocations: 84.95 kB / 0.8824 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/1.281, allocations: 2.282 MB / 0.8847 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004134/1.282, allocations: 72.83 kB / 0.8847 GB, free: 171 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/1.283, allocations: 2.34 MB / 0.887 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008103/1.284, allocations: 0.9762 MB / 0.888 GB, free: 169 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/1.285, allocations: 0.5091 MB / 0.8885 GB, free: 168.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/1.285, allocations: 312.3 kB / 0.8888 GB, free: 168.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003309/1.289, allocations: 1.97 MB / 0.8907 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/1.292, allocations: 2.607 MB / 0.8932 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007372/1.299, allocations: 4.928 MB / 0.898 GB, free: 163.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.432e-05/1.299, allocations: 9.688 kB / 0.898 GB, free: 163.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01479/1.314, allocations: 7.647 MB / 0.9055 GB, free: 160.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/1.314, allocations: 13.09 kB / 0.9055 GB, free: 160.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/1.314, allocations: 16.81 kB / 0.9055 GB, free: 160.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008326/1.322, allocations: 3.212 MB / 0.9087 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.324, allocations: 402.1 kB / 0.9091 GB, free: 158.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0341/1.358, allocations: 33.91 MB / 0.9422 GB, free: 130.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/1.361, allocations: 164.8 kB / 0.9423 GB, free: 130.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003103/1.362, allocations: 109.4 kB / 0.9424 GB, free: 130.1 MB / 0.6856 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.003146/1.365, allocations: 1.797 MB / 0.9442 GB, free: 128.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007522/1.365, allocations: 345.9 kB / 0.9445 GB, free: 127.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.377, allocations: 7.245 MB / 0.9516 GB, free: 120.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.377, allocations: 28 kB / 0.9516 GB, free: 120.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.046e-05/1.377, allocations: 32 kB / 0.9517 GB, free: 120.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/1.377, allocations: 11.95 kB / 0.9517 GB, free: 120.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/1.399, allocations: 12.8 MB / 0.9642 GB, free: 107.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/1.399, allocations: 14.66 kB / 0.9642 GB, free: 107.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000921/1.4, allocations: 227.6 kB / 0.9644 GB, free: 107.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007148/1.407, allocations: 2.857 MB / 0.9672 GB, free: 104.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003724/1.408, allocations: 56 kB / 0.9672 GB, free: 104.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03301/1.441, allocations: 32.7 MB / 0.9992 GB, free: 70.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/1.441, allocations: 11.94 kB / 0.9992 GB, free: 70.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/1.452, allocations: 6.775 MB / 1.006 GB, free: 63.93 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/1.454, allocations: 0.8016 MB / 1.007 GB, free: 63.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006163/1.455, allocations: 52 kB / 1.007 GB, free: 63.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.456, allocations: 175.8 kB / 1.007 GB, free: 62.88 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007828/1.457, allocations: 253.5 kB / 1.007 GB, free: 62.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.457, allocations: 76 kB / 1.007 GB, free: 62.56 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001719/1.459, allocations: 1.521 MB / 1.009 GB, free: 61.04 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/1.459, allocations: 2.734 kB / 1.009 GB, free: 61.04 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004197/1.463, allocations: 1.371 MB / 1.01 GB, free: 59.66 MB / 0.6856 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.01024/1.473, allocations: 7.416 MB / 1.017 GB, free: 52.03 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.485, allocations: 6.563 MB / 1.024 GB, free: 45.38 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.485, allocations: 8.141 kB / 1.024 GB, free: 45.38 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00888/1.494, allocations: 4.239 MB / 1.028 GB, free: 41.06 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006233/1.5, allocations: 1.117 MB / 1.029 GB, free: 40 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06971/1.57, allocations: 38.94 MB / 1.067 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004926/1.575, allocations: 3.647 MB / 1.07 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001993/1.577, allocations: 0.5556 MB / 1.071 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002482/1.579, allocations: 1.972 MB / 1.073 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of SimCode: time 8.42e-07/1.579, allocations: 0 / 1.073 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5456/2.125, allocations: 112.3 MB / 1.183 GB, free: 253.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.09/19.21, allocations: 5.562 kB / 1.183 GB, free: 253.2 MB / 0.795 GB " [Timeout remaining time 641] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.105471417773515] Failed to read output from testmodel.py, exit status != 0: 19.361530143767595 19.381598929 18.703238228 Calling exit ...