Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.0007975/0.0007975, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008664/0.0008664, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8842/0.8842, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5477/0.5477, allocations: 114 MB / 373.9 MB, free: 8.715 MB / 346.7 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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.5e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005359/0.005374, allocations: 6.449 MB / 0.5605 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003662/0.009036, allocations: 3.02 MB / 0.5634 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.009412, allocations: 35.69 kB / 0.5635 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.01066, allocations: 0.9567 MB / 0.5644 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008713/0.01154, allocations: 0.5357 MB / 0.5649 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.01229, allocations: 453.4 kB / 0.5654 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.01338, allocations: 1.275 MB / 0.5666 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006782/0.01406, allocations: 0.5333 MB / 0.5671 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.01479, allocations: 0.6625 MB / 0.5678 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005221/0.01531, allocations: 478.7 kB / 0.5682 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.01538, allocations: 64 kB / 0.5683 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.01583, allocations: 351.1 kB / 0.5686 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.01605, allocations: 331 kB / 0.569 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.01627, allocations: 315.2 kB / 0.5693 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000939/0.01721, allocations: 1.254 MB / 0.5705 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01721, allocations: 0 / 0.5705 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.203e-06/0.01721, allocations: 0 / 0.5705 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.01723, allocations: 0 / 0.5705 GB, free: 2.059 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001298/0.01852, allocations: 1.1 MB / 0.5716 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.01856, allocations: 12.62 kB / 0.5716 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.01867, allocations: 126.7 kB / 0.5717 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.01951, allocations: 252 kB / 0.5719 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.02018, allocations: 0.5353 MB / 0.5724 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.02022, allocations: 57.53 kB / 0.5725 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.02029, allocations: 56.38 kB / 0.5726 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.02144, allocations: 1.336 MB / 0.5739 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.02147, allocations: 8.125 kB / 0.5739 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.02151, allocations: 32.11 kB / 0.5739 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.02162, allocations: 89.25 kB / 0.574 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/0.02242, allocations: 0.7465 MB / 0.5747 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.02561, allocations: 4.628 MB / 0.5792 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.02625, allocations: 0.5127 MB / 0.5797 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.02652, allocations: 282.2 kB / 0.58 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.02654, allocations: 4.5 kB / 0.58 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.02657, allocations: 39.06 kB / 0.58 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.02657, allocations: 0 / 0.58 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.002367/0.02894, allocations: 1.693 MB / 0.5817 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.02897, allocations: 55.91 kB / 0.5818 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.02936, allocations: 0.5858 MB / 0.5823 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.02939, allocations: 37.7 kB / 0.5824 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.02957, allocations: 420.1 kB / 0.5828 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.02965, allocations: 178.5 kB / 0.5829 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.02976, allocations: 122.6 kB / 0.583 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.02987, allocations: 378.8 kB / 0.5834 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.03013, allocations: 269.9 kB / 0.5837 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.03047, allocations: 0.4891 MB / 0.5841 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006395/0.03111, allocations: 0.8086 MB / 0.5849 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.03112, allocations: 7.938 kB / 0.5849 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001052/0.03217, allocations: 1.074 MB / 0.586 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.03219, allocations: 11.94 kB / 0.586 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.03219, allocations: 4 kB / 0.586 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.03268, allocations: 283.2 kB / 0.5863 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.03291, allocations: 123.8 kB / 0.5864 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.03688, allocations: 6.679 MB / 0.5929 GB, free: 9.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.03712, allocations: 35.97 kB / 0.5929 GB, free: 9.875 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.03714, allocations: 28 kB / 0.593 GB, free: 9.848 MB / 0.5573 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0001991/0.03734, allocations: 254.2 kB / 0.5932 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.0374, allocations: 79.47 kB / 0.5933 GB, free: 9.512 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.03856, allocations: 0.8823 MB / 0.5942 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.03856, allocations: 4 kB / 0.5942 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.03857, allocations: 7.938 kB / 0.5942 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.03858, allocations: 3.984 kB / 0.5942 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.04008, allocations: 1.615 MB / 0.5957 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.04008, allocations: 0 / 0.5957 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.0402, allocations: 63.88 kB / 0.5958 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/0.04059, allocations: 267.6 kB / 0.5961 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.04061, allocations: 15.94 kB / 0.5961 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/0.04433, allocations: 6.665 MB / 0.6026 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.04434, allocations: 8.156 kB / 0.6026 GB, free: 15.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.04519, allocations: 0.9776 MB / 0.6036 GB, free: 14.38 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.04534, allocations: 119.5 kB / 0.6037 GB, free: 14.27 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.04537, allocations: 12 kB / 0.6037 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.04555, allocations: 23.97 kB / 0.6037 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.04561, allocations: 47.86 kB / 0.6037 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.04563, allocations: 16 kB / 0.6038 GB, free: 14.17 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002542/0.04588, allocations: 395.1 kB / 0.6041 GB, free: 13.79 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.04588, allocations: 0 / 0.6041 GB, free: 13.79 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004489/0.04633, allocations: 224 kB / 0.6044 GB, free: 13.57 MB / 0.573 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.001047/0.04738, allocations: 1.535 MB / 0.6058 GB, free: 11.97 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.04847, allocations: 1.236 MB / 0.6071 GB, free: 10.68 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.04848, allocations: 4 kB / 0.6071 GB, free: 10.68 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000896/0.04937, allocations: 0.8657 MB / 0.6079 GB, free: 9.762 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.04996, allocations: 228.7 kB / 0.6081 GB, free: 9.547 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/0.05515, allocations: 6.379 MB / 0.6144 GB, free: 2.828 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.05555, allocations: 413 kB / 0.6147 GB, free: 2.398 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002159/0.05576, allocations: 122 kB / 0.6149 GB, free: 2.277 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.05597, allocations: 260.4 kB / 0.6151 GB, free: 2.023 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/0.05597, allocations: 3.938 kB / 0.6151 GB, free: 2.02 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.08764, allocations: 19.42 MB / 0.6341 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/7.434, allocations: 14.92 kB / 0.6341 GB, free: 15.07 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.90912381093949] Failed to read output from testmodel.py, exit status != 0: 7.527871297672391 7.542252682 7.522710854 Calling exit ...