Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001246/0.001246, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001571/0.001571, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.824 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 1.037/1.037, allocations: 150 MB / 463.9 MB, free: 10.23 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",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.00207/0.00207, allocations: 70 kB / 0.642 GB, free: 9.953 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1901, allocations: 89.17 MB / 0.729 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009665/0.1998, allocations: 6.461 MB / 0.7353 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006138/0.2059, allocations: 3.044 MB / 0.7383 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.2066, allocations: 35.69 kB / 0.7384 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.2095, allocations: 0.9484 MB / 0.7393 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.2111, allocations: 0.5207 MB / 0.7398 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.2123, allocations: 422.6 kB / 0.7402 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.2141, allocations: 1.229 MB / 0.7414 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.2151, allocations: 0.5373 MB / 0.7419 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000959/0.2161, allocations: 494.3 kB / 0.7424 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.2172, allocations: 0.5448 MB / 0.7429 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.2174, allocations: 64 kB / 0.743 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008352/0.2182, allocations: 347.3 kB / 0.7433 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000449/0.2187, allocations: 315.1 kB / 0.7436 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006846/0.2193, allocations: 378.2 kB / 0.744 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.2211, allocations: 1.237 MB / 0.7452 GB, free: 264 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2212, allocations: 0 / 0.7452 GB, free: 264 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2212, allocations: 0 / 0.7452 GB, free: 264 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.253e-05/0.2212, allocations: 0 / 0.7452 GB, free: 264 kB / 0.5606 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.002937/0.2241, allocations: 1.11 MB / 0.7463 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.2242, allocations: 8.031 kB / 0.7463 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.525e-05/0.2242, allocations: 17.5 kB / 0.7463 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/0.2245, allocations: 126.7 kB / 0.7464 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.2263, allocations: 236.1 kB / 0.7466 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.2276, allocations: 0.523 MB / 0.7471 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-05/0.2277, allocations: 57.66 kB / 0.7472 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.2278, allocations: 60.38 kB / 0.7473 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.2299, allocations: 1.347 MB / 0.7486 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.23, allocations: 7.938 kB / 0.7486 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.23, allocations: 27.98 kB / 0.7486 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/0.2302, allocations: 85.25 kB / 0.7487 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.2316, allocations: 0.7504 MB / 0.7494 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005763/0.2373, allocations: 4.631 MB / 0.7539 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2384, allocations: 0.5127 MB / 0.7544 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.2389, allocations: 282 kB / 0.7547 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.2389, allocations: 4.438 kB / 0.7547 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.239, allocations: 43 kB / 0.7548 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 3.397e-06/0.239, allocations: 0 / 0.7548 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004406/0.2434, allocations: 1.694 MB / 0.7564 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.2435, allocations: 59.84 kB / 0.7565 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/0.2442, allocations: 0.5509 MB / 0.757 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.2442, allocations: 29.7 kB / 0.757 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.2446, allocations: 428 kB / 0.7574 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.2447, allocations: 178.5 kB / 0.7576 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.2449, allocations: 122.6 kB / 0.7577 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.2451, allocations: 382.7 kB / 0.7581 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.2455, allocations: 277.8 kB / 0.7584 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.2462, allocations: 492.9 kB / 0.7588 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.2472, allocations: 0.8122 MB / 0.7596 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2472, allocations: 0 / 0.7596 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3801/0.6274, allocations: 1.076 MB / 0.7607 GB, free: 34.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.6274, allocations: 10.31 kB / 0.7607 GB, free: 34.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.6274, allocations: 8.938 kB / 0.7607 GB, free: 34.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009158/0.6283, allocations: 277.2 kB / 0.761 GB, free: 34.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.6289, allocations: 125 kB / 0.7611 GB, free: 34.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/0.6342, allocations: 6.678 MB / 0.7676 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.6349, allocations: 41.2 kB / 0.7676 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.635, allocations: 28.38 kB / 0.7677 GB, free: 29.39 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 (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.0003679/0.6353, allocations: 254.2 kB / 0.7679 GB, free: 29.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.6355, allocations: 81.89 kB / 0.768 GB, free: 29.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.637, allocations: 0.8795 MB / 0.7688 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.637, allocations: 3.297 kB / 0.7689 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.637, allocations: 8.812 kB / 0.7689 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.637, allocations: 2.812 kB / 0.7689 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.6395, allocations: 1.602 MB / 0.7704 GB, free: 28.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6395, allocations: 7.25 kB / 0.7704 GB, free: 28.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.6398, allocations: 65.83 kB / 0.7705 GB, free: 28.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008002/0.6406, allocations: 268.3 kB / 0.7708 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.6406, allocations: 14.94 kB / 0.7708 GB, free: 28.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005607/0.6462, allocations: 6.677 MB / 0.7773 GB, free: 23.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6462, allocations: 2.406 kB / 0.7773 GB, free: 23.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.6479, allocations: 0.9754 MB / 0.7782 GB, free: 23.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.6482, allocations: 121 kB / 0.7784 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.6483, allocations: 11.19 kB / 0.7784 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.6487, allocations: 30.19 kB / 0.7784 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6488, allocations: 48.05 kB / 0.7784 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.6489, allocations: 15.05 kB / 0.7785 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005492/0.6494, allocations: 392 kB / 0.7788 GB, free: 23.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6494, allocations: 0 / 0.7788 GB, free: 23.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001056/0.6505, allocations: 223 kB / 0.779 GB, free: 23.42 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 (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.001875/0.6523, allocations: 1.529 MB / 0.7805 GB, free: 22.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.6545, allocations: 1.23 MB / 0.7817 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6545, allocations: 4.656 kB / 0.7817 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.6558, allocations: 0.8661 MB / 0.7826 GB, free: 21.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6569, allocations: 222.6 kB / 0.7828 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.6677, allocations: 6.374 MB / 0.789 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/0.6685, allocations: 415.5 kB / 0.7894 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006216/0.6691, allocations: 124.6 kB / 0.7895 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.6695, allocations: 252.8 kB / 0.7898 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/0.6695, allocations: 0 / 0.7898 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06123/0.7307, allocations: 19.05 MB / 0.8084 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.64, allocations: 16.06 kB / 0.8084 GB, free: 10.67 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.79733990004752] Failed to read output from testmodel.py, exit status != 0: 13.847652668016963 13.867569088 13.642007382 Calling exit ...