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.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.001735/0.001735, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001948/0.001948, allocations: 192.7 kB / 20.08 MB, free: 3.012 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.43/1.43, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.8626/0.8626, allocations: 129.2 MB / 432.5 MB, free: 13.19 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_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: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.89 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4154, allocations: 83.43 MB / 0.6802 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.042/0.4574, allocations: 35.69 MB / 0.715 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01928/0.4767, allocations: 10.04 MB / 0.7249 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003687/0.4804, allocations: 151.2 kB / 0.725 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.4917, allocations: 3.863 MB / 0.7288 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006764/0.4985, allocations: 2.153 MB / 0.7309 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006016/0.5045, allocations: 1.968 MB / 0.7328 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.011/0.5155, allocations: 7.963 MB / 0.7406 GB, free: 32 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01393/0.5294, allocations: 7.139 MB / 0.7475 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007174/0.5366, allocations: 3.424 MB / 0.7509 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008039/0.5446, allocations: 3.937 MB / 0.7547 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0028/0.5474, allocations: 0.6758 MB / 0.7554 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005212/0.5526, allocations: 1.471 MB / 0.7568 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004999/0.5576, allocations: 2.685 MB / 0.7594 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007065/0.5647, allocations: 3.101 MB / 0.7625 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.5808, allocations: 10.41 MB / 0.7726 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.5808, allocations: 0 / 0.7726 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5808, allocations: 0 / 0.7726 GB, free: 15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003591/0.5812, allocations: 0 / 0.7726 GB, free: 15 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.0162/0.5974, allocations: 5.542 MB / 0.7781 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.5975, allocations: 12.03 kB / 0.7781 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002731/0.6002, allocations: 0.7023 MB / 0.7788 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006914/0.6071, allocations: 0.989 MB / 0.7797 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009017/0.6161, allocations: 3.196 MB / 0.7828 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/0.6166, allocations: 357.9 kB / 0.7832 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/0.6185, allocations: 464.3 kB / 0.7836 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/0.6369, allocations: 7.906 MB / 0.7913 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.6371, allocations: 19.81 kB / 0.7914 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/0.6384, allocations: 212 kB / 0.7916 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005874/0.6389, allocations: 373 kB / 0.7919 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.6517, allocations: 5.937 MB / 0.7977 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04853/0.7002, allocations: 36.01 MB / 0.8329 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/0.704, allocations: 1.987 MB / 0.8348 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002425/0.7064, allocations: 1.345 MB / 0.8361 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.7066, allocations: 17.25 kB / 0.8362 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/0.7066, allocations: 55.81 kB / 0.8362 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=157): time 4.629e-06/0.7067, allocations: 0 / 0.8362 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=160): time 0.01621/0.7229, allocations: 7.571 MB / 0.8436 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.7229, allocations: 68.72 kB / 0.8437 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.7264, allocations: 1.868 MB / 0.8455 GB, free: 328 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.7266, allocations: 49.7 kB / 0.8455 GB, free: 272 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.7284, allocations: 2.196 MB / 0.8477 GB, free: 14.05 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007077/0.7291, allocations: 0.581 MB / 0.8483 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008285/0.7299, allocations: 411.9 kB / 0.8486 GB, free: 13.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.7301, allocations: 301.1 kB / 0.8489 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.7319, allocations: 1.058 MB / 0.85 GB, free: 11.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.7343, allocations: 1.768 MB / 0.8517 GB, free: 9.609 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.7386, allocations: 3.045 MB / 0.8547 GB, free: 6.25 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-05/0.7386, allocations: 12 kB / 0.8547 GB, free: 6.238 MB / 0.67 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007316/0.7459, allocations: 3.902 MB / 0.8585 GB, free: 2.289 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.746, allocations: 14.34 kB / 0.8585 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/0.746, allocations: 24 kB / 0.8585 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/0.7486, allocations: 0.9318 MB / 0.8594 GB, free: 1.285 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.7503, allocations: 427.3 kB / 0.8598 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.393/1.143, allocations: 22.77 MB / 0.8821 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.145, allocations: 121.7 kB / 0.8822 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/1.146, allocations: 94.7 kB / 0.8823 GB, free: 164.9 MB / 0.6856 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.003282/1.149, allocations: 1.645 MB / 0.8839 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006394/1.15, allocations: 272.1 kB / 0.8841 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00607/1.156, allocations: 3.237 MB / 0.8873 GB, free: 162.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/1.156, allocations: 16.28 kB / 0.8873 GB, free: 162.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.446e-05/1.156, allocations: 14.25 kB / 0.8873 GB, free: 162.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/1.156, allocations: 8.031 kB / 0.8873 GB, free: 162.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/1.169, allocations: 7.519 MB / 0.8947 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.169, allocations: 7.625 kB / 0.8947 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008473/1.17, allocations: 218.5 kB / 0.8949 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/1.172, allocations: 0.8927 MB / 0.8958 GB, free: 159.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/1.173, allocations: 34.44 kB / 0.8958 GB, free: 159.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01572/1.188, allocations: 22.74 MB / 0.918 GB, free: 139.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.188, allocations: 8.062 kB / 0.918 GB, free: 139.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005137/1.193, allocations: 3.364 MB / 0.9213 GB, free: 138 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.195, allocations: 0.5461 MB / 0.9218 GB, free: 137.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/1.195, allocations: 34.94 kB / 0.9219 GB, free: 137.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.196, allocations: 93.06 kB / 0.922 GB, free: 137.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003941/1.196, allocations: 145.5 kB / 0.9221 GB, free: 137.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.706e-05/1.197, allocations: 44.88 kB / 0.9221 GB, free: 137.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001394/1.198, allocations: 1.222 MB / 0.9233 GB, free: 136.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/1.198, allocations: 0 / 0.9233 GB, free: 136.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003008/1.201, allocations: 0.9087 MB / 0.9242 GB, free: 136.8 MB / 0.6856 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.004405/1.205, allocations: 3.967 MB / 0.9281 GB, free: 134.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005098/1.21, allocations: 4.289 MB / 0.9323 GB, free: 131.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/1.21, allocations: 192 / 0.9323 GB, free: 131.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/1.214, allocations: 2.916 MB / 0.9351 GB, free: 129.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/1.217, allocations: 0.8207 MB / 0.9359 GB, free: 128.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/1.249, allocations: 25.13 MB / 0.9605 GB, free: 103.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003493/1.252, allocations: 3.209 MB / 0.9636 GB, free: 100.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001772/1.254, allocations: 0.5293 MB / 0.9641 GB, free: 99.66 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/1.256, allocations: 1.651 MB / 0.9657 GB, free: 98 MB / 0.6856 GB Notification: Performance of SimCode: time 1.273e-06/1.256, allocations: 0 / 0.9657 GB, free: 98 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/1.41, allocations: 70.69 MB / 1.035 GB, free: 28.18 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/16.11, allocations: 4.719 kB / 1.035 GB, free: 28.18 MB / 0.6856 GB " [Timeout remaining time 644] (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: 19.9298065318726] Failed to read output from testmodel.py, exit status != 0: 16.229949610773474 16.238983418 15.655691634 Calling exit ...