Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001485/0.001485, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001427/0.001427, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.499/1.499, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.008/1.008, allocations: 150 MB / 460.2 MB, free: 5.301 MB / 350.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.00196/0.00196, allocations: 65.72 kB / 0.6368 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1679, allocations: 89.13 MB / 0.7238 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009847/0.1777, allocations: 6.173 MB / 0.7299 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006035/0.1837, allocations: 3.219 MB / 0.733 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006356/0.1844, allocations: 43.56 kB / 0.7331 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.1869, allocations: 0.944 MB / 0.734 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.1885, allocations: 497.5 kB / 0.7345 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.19, allocations: 478.8 kB / 0.7349 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.1919, allocations: 1.092 MB / 0.736 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009416/0.1929, allocations: 0.5103 MB / 0.7365 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.1936, allocations: 458.4 kB / 0.7369 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.1943, allocations: 0.4942 MB / 0.7374 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.1944, allocations: 59.94 kB / 0.7375 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009939/0.1954, allocations: 0.4911 MB / 0.7379 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.1958, allocations: 299.1 kB / 0.7382 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.1962, allocations: 398 kB / 0.7386 GB, free: 5.004 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.1979, allocations: 1.183 MB / 0.7398 GB, free: 3.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1979, allocations: 0 / 0.7398 GB, free: 3.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.315e-06/0.1979, allocations: 0 / 0.7398 GB, free: 3.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.1979, allocations: 0 / 0.7398 GB, free: 3.816 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002066/0.2, allocations: 1.078 MB / 0.7408 GB, free: 2.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2, allocations: 12.03 kB / 0.7408 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.303e-05/0.2001, allocations: 17.5 kB / 0.7408 GB, free: 2.656 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.2002, allocations: 118.7 kB / 0.7409 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.2019, allocations: 228.2 kB / 0.7412 GB, free: 2.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2029, allocations: 0.577 MB / 0.7417 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.2029, allocations: 53.67 kB / 0.7418 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.2031, allocations: 64.31 kB / 0.7418 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2047, allocations: 1.033 MB / 0.7429 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.2047, allocations: 7.938 kB / 0.7429 GB, free: 436 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.2048, allocations: 27.98 kB / 0.7429 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.2049, allocations: 69.27 kB / 0.743 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.206, allocations: 0.6918 MB / 0.7436 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/0.2122, allocations: 5.734 MB / 0.7492 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/0.2131, allocations: 0.5483 MB / 0.7498 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008458/0.2139, allocations: 398.8 kB / 0.7501 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.2139, allocations: 11.97 kB / 0.7502 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.214, allocations: 38.56 kB / 0.7502 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.465e-06/0.214, allocations: 0 / 0.7502 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004639/0.2186, allocations: 2.008 MB / 0.7522 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.2187, allocations: 59.41 kB / 0.7522 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.2193, allocations: 458.8 kB / 0.7526 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.2193, allocations: 33.7 kB / 0.7527 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.2196, allocations: 400.1 kB / 0.7531 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.2198, allocations: 158.7 kB / 0.7532 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.22, allocations: 106.3 kB / 0.7533 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.2202, allocations: 362.7 kB / 0.7537 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.2206, allocations: 245.2 kB / 0.7539 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.2211, allocations: 449 kB / 0.7543 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.2222, allocations: 0.7556 MB / 0.7551 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2222, allocations: 0 / 0.7551 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001924/0.2241, allocations: 1.034 MB / 0.7561 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.2242, allocations: 15.88 kB / 0.7561 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2242, allocations: 4.875 kB / 0.7561 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.2253, allocations: 315.2 kB / 0.7564 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.2256, allocations: 103.8 kB / 0.7565 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00839/0.234, allocations: 7.464 MB / 0.7638 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.2345, allocations: 23.98 kB / 0.7638 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.2346, allocations: 32.19 kB / 0.7638 GB, free: 9.531 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004395/0.235, allocations: 237.6 kB / 0.7641 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.2351, allocations: 71.69 kB / 0.7641 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.237, allocations: 0.8963 MB / 0.765 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.237, allocations: 4.281 kB / 0.765 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.237, allocations: 4 kB / 0.765 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.237, allocations: 0 / 0.765 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.2398, allocations: 1.676 MB / 0.7666 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2398, allocations: 192 / 0.7666 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.24, allocations: 47.91 kB / 0.7667 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009651/0.2409, allocations: 307.2 kB / 0.767 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.241, allocations: 11.94 kB / 0.767 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009575/0.2505, allocations: 7.462 MB / 0.7743 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.2505, allocations: 4 kB / 0.7743 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.2527, allocations: 0.9763 MB / 0.7752 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.2531, allocations: 184.6 kB / 0.7754 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.2532, allocations: 8 kB / 0.7754 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.2535, allocations: 23.92 kB / 0.7754 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.2536, allocations: 47.88 kB / 0.7755 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.2537, allocations: 16.28 kB / 0.7755 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004217/0.2541, allocations: 306.9 kB / 0.7758 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2541, allocations: 0 / 0.7758 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009015/0.255, allocations: 195.9 kB / 0.776 GB, free: 12.32 MB / 0.5919 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002146/0.2571, allocations: 1.529 MB / 0.7775 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.2593, allocations: 1.156 MB / 0.7786 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2593, allocations: 0 / 0.7786 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.2607, allocations: 0.8386 MB / 0.7794 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.2618, allocations: 208.8 kB / 0.7796 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009244/0.2711, allocations: 5.825 MB / 0.7853 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/0.2718, allocations: 0.9881 MB / 0.7863 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003196/0.2722, allocations: 101.2 kB / 0.7864 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.2725, allocations: 223.4 kB / 0.7866 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.2725, allocations: 0 / 0.7866 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05248/0.3249, allocations: 15.42 MB / 0.8016 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.38, allocations: 6.25 kB / 0.8017 GB, free: 1.797 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.521395152958576] Failed to read output from testmodel.py, exit status != 0: 11.535118026018608 11.560656682 11.358050988 Calling exit ...