Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001374/0.001374, allocations: 119 kB / 19.69 MB, free: 2.199 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.001622/0.001622, allocations: 222.1 kB / 23.01 MB, free: 5.047 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9799/0.9799, allocations: 150 MB / 463.2 MB, free: 10.46 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.002056/0.002056, allocations: 70.39 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.186, allocations: 89.17 MB / 0.7284 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.4385/0.6245, allocations: 36.79 MB / 0.7643 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.6417, allocations: 10.33 MB / 0.7744 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004029/0.6457, allocations: 188 kB / 0.7746 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009914/0.6556, allocations: 3.985 MB / 0.7785 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.6628, allocations: 2.141 MB / 0.7806 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006099/0.6689, allocations: 2.043 MB / 0.7825 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01478/0.6837, allocations: 7.973 MB / 0.7903 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.6938, allocations: 5.273 MB / 0.7955 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007448/0.7013, allocations: 3.47 MB / 0.7989 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006545/0.7078, allocations: 3.938 MB / 0.8027 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001881/0.7097, allocations: 0.679 MB / 0.8034 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/0.714, allocations: 1.467 MB / 0.8048 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003643/0.7176, allocations: 2.685 MB / 0.8074 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006072/0.7237, allocations: 3.098 MB / 0.8105 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.7395, allocations: 10.43 MB / 0.8206 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.7395, allocations: 4 kB / 0.8206 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7395, allocations: 0 / 0.8206 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003465/0.7398, allocations: 0 / 0.8206 GB, free: 9.426 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01844/0.7583, allocations: 5.46 MB / 0.826 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.7583, allocations: 7.469 kB / 0.826 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002268/0.7606, allocations: 0.6968 MB / 0.8267 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.7666, allocations: 0.996 MB / 0.8276 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00798/0.7746, allocations: 3.131 MB / 0.8307 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.7749, allocations: 360.5 kB / 0.831 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.7765, allocations: 464.3 kB / 0.8315 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.7947, allocations: 7.914 MB / 0.8392 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.7948, allocations: 27.77 kB / 0.8392 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007483/0.7956, allocations: 208 kB / 0.8394 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005856/0.7961, allocations: 369.1 kB / 0.8398 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.8091, allocations: 5.937 MB / 0.8456 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05019/0.8593, allocations: 35.69 MB / 0.8804 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/0.8632, allocations: 1.994 MB / 0.8824 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.8653, allocations: 1.331 MB / 0.8837 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-05/0.8654, allocations: 21.31 kB / 0.8837 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/0.8655, allocations: 59.81 kB / 0.8838 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=157): time 3.496e-06/0.8655, allocations: 0 / 0.8838 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=160): time 0.01494/0.8804, allocations: 6.662 MB / 0.8903 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.8805, allocations: 76.66 kB / 0.8903 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.8834, allocations: 1.86 MB / 0.8922 GB, free: 15.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.8836, allocations: 61.64 kB / 0.8922 GB, free: 14.95 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/0.8856, allocations: 2.184 MB / 0.8944 GB, free: 12.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000758/0.8864, allocations: 0.5887 MB / 0.8949 GB, free: 12.15 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007036/0.8871, allocations: 404 kB / 0.8953 GB, free: 11.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8872, allocations: 309.1 kB / 0.8956 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/0.8891, allocations: 1.058 MB / 0.8966 GB, free: 10.38 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.8915, allocations: 1.76 MB / 0.8984 GB, free: 8.305 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004261/0.8957, allocations: 3.045 MB / 0.9013 GB, free: 4.957 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.8958, allocations: 8 kB / 0.9013 GB, free: 4.949 MB / 0.67 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006984/0.9027, allocations: 3.91 MB / 0.9052 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.9028, allocations: 16 kB / 0.9052 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.9028, allocations: 27.98 kB / 0.9052 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.9053, allocations: 0.9237 MB / 0.9061 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.9069, allocations: 435.2 kB / 0.9065 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/0.9307, allocations: 21.54 MB / 0.9275 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.933, allocations: 127.9 kB / 0.9277 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.9333, allocations: 96 kB / 0.9278 GB, free: 8.438 MB / 0.7012 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003388/0.9367, allocations: 1.65 MB / 0.9294 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006395/0.9373, allocations: 262.4 kB / 0.9296 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005953/0.9433, allocations: 3.236 MB / 0.9328 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.9433, allocations: 16 kB / 0.9328 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.9433, allocations: 11.94 kB / 0.9328 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.9433, allocations: 11.97 kB / 0.9328 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.9573, allocations: 7.501 MB / 0.9401 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.9573, allocations: 8.062 kB / 0.9402 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.9583, allocations: 219.6 kB / 0.9404 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002491/0.9608, allocations: 0.8921 MB / 0.9412 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.9609, allocations: 32 kB / 0.9413 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02389/0.9848, allocations: 21.52 MB / 0.9623 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.9849, allocations: 11.94 kB / 0.9623 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006472/0.9913, allocations: 3.359 MB / 0.9656 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.9928, allocations: 478.1 kB / 0.966 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/0.9932, allocations: 39.88 kB / 0.9661 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.9943, allocations: 95.89 kB / 0.9662 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/0.9947, allocations: 149 kB / 0.9663 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.9948, allocations: 48 kB / 0.9663 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001918/0.9967, allocations: 1.225 MB / 0.9675 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9967, allocations: 0 / 0.9675 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00393/1.001, allocations: 0.9023 MB / 0.9684 GB, free: 13.05 MB / 0.7481 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,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.006639/1.007, allocations: 3.98 MB / 0.9723 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007395/1.015, allocations: 4.288 MB / 0.9765 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.015, allocations: 0 / 0.9765 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004634/1.019, allocations: 2.91 MB / 0.9793 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003705/1.023, allocations: 0.8224 MB / 0.9801 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05769/1.081, allocations: 25.24 MB / 1.005 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004183/1.085, allocations: 3.209 MB / 1.008 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002163/1.087, allocations: 0.5254 MB / 1.008 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003233/1.09, allocations: 1.651 MB / 1.01 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of SimCode: time 1.072e-06/1.09, allocations: 4 kB / 1.01 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1763/1.267, allocations: 72.58 MB / 1.081 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.31, allocations: 15.78 kB / 1.081 GB, free: 9.07 MB / 0.8575 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.77026728610508] Failed to read output from testmodel.py, exit status != 0: 18.470589814009145 18.806183294 18.063749904 Calling exit ...