Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001328/0.001328, allocations: 107.3 kB / 17.12 MB, free: 5.926 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.00147/0.00147, allocations: 205 kB / 20.09 MB, free: 2.977 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.068/1.068, allocations: 150 MB / 459.5 MB, free: 5.727 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.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",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.002059/0.002059, allocations: 61.75 kB / 0.6361 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1806, allocations: 89.14 MB / 0.7231 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005186/0.1858, allocations: 3.113 MB / 0.7262 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003368/0.1891, allocations: 2.006 MB / 0.7281 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.1893, allocations: 11.94 kB / 0.7282 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009655/0.1903, allocations: 278.9 kB / 0.7284 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.1909, allocations: 195.1 kB / 0.7286 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.1916, allocations: 259.2 kB / 0.7288 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.192, allocations: 318.9 kB / 0.7292 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.1924, allocations: 156 kB / 0.7293 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.1926, allocations: 135.5 kB / 0.7294 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.193, allocations: 159.5 kB / 0.7296 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.193, allocations: 20 kB / 0.7296 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007277/0.1938, allocations: 431.1 kB / 0.73 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1939, allocations: 83.8 kB / 0.7301 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.194, allocations: 119.4 kB / 0.7302 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008178/0.1948, allocations: 0.4943 MB / 0.7307 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1948, allocations: 0 / 0.7307 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1948, allocations: 0 / 0.7307 GB, free: 12.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.1948, allocations: 4 kB / 0.7307 GB, free: 12.34 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001058/0.1959, allocations: 0.5663 MB / 0.7312 GB, free: 11.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1959, allocations: 12.03 kB / 0.7313 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.999e-05/0.196, allocations: 62.66 kB / 0.7313 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000855/0.1969, allocations: 108.7 kB / 0.7314 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.1973, allocations: 267.9 kB / 0.7317 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1973, allocations: 16.81 kB / 0.7317 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.1973, allocations: 20.31 kB / 0.7317 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.1979, allocations: 357.2 kB / 0.7321 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1979, allocations: 0 / 0.7321 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.1979, allocations: 8 kB / 0.7321 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/0.198, allocations: 24.42 kB / 0.7321 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005234/0.1985, allocations: 305.4 kB / 0.7324 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.2009, allocations: 1.734 MB / 0.7341 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.2015, allocations: 322.7 kB / 0.7344 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.2016, allocations: 105.6 kB / 0.7345 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.2018, allocations: 89.09 kB / 0.7346 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.2018, allocations: 34.56 kB / 0.7346 GB, free: 7.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.2018, allocations: 0 / 0.7346 GB, free: 7.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002715/0.2045, allocations: 0.9714 MB / 0.7355 GB, free: 6.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.2046, allocations: 85.05 kB / 0.7356 GB, free: 6.871 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.2048, allocations: 207.8 kB / 0.7358 GB, free: 6.652 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2048, allocations: 33.7 kB / 0.7359 GB, free: 6.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.205, allocations: 176.5 kB / 0.736 GB, free: 6.438 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.205, allocations: 79.28 kB / 0.7361 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.2052, allocations: 65.64 kB / 0.7362 GB, free: 6.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2053, allocations: 330.8 kB / 0.7365 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.2055, allocations: 131.8 kB / 0.7366 GB, free: 5.828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.2058, allocations: 225.6 kB / 0.7368 GB, free: 5.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.2064, allocations: 366 kB / 0.7372 GB, free: 5.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2064, allocations: 0 / 0.7372 GB, free: 5.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009728/0.2073, allocations: 0.5044 MB / 0.7377 GB, free: 4.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2074, allocations: 8 kB / 0.7377 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2074, allocations: 0 / 0.7377 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/0.2079, allocations: 163.4 kB / 0.7378 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.2082, allocations: 55.91 kB / 0.7379 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/0.2119, allocations: 4.186 MB / 0.742 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.2121, allocations: 23.94 kB / 0.742 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.2121, allocations: 19.92 kB / 0.742 GB, free: 15.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.2123, allocations: 165.6 kB / 0.7422 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.2124, allocations: 23.97 kB / 0.7422 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009395/0.2134, allocations: 470.5 kB / 0.7426 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2134, allocations: 7.984 kB / 0.7426 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2134, allocations: 0 / 0.7426 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2134, allocations: 4 kB / 0.7426 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.2151, allocations: 1.001 MB / 0.7436 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2151, allocations: 96 / 0.7436 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.2152, allocations: 39.86 kB / 0.7437 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.2157, allocations: 143.5 kB / 0.7438 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.2157, allocations: 12 kB / 0.7438 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/0.2191, allocations: 4.151 MB / 0.7479 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2191, allocations: 0 / 0.7479 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009285/0.22, allocations: 0.6299 MB / 0.7485 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.2202, allocations: 124.9 kB / 0.7486 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.2202, allocations: 8 kB / 0.7486 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.2205, allocations: 19.98 kB / 0.7486 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.2205, allocations: 31.91 kB / 0.7487 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.2205, allocations: 8 kB / 0.7487 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001649/0.2207, allocations: 157.5 kB / 0.7488 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2207, allocations: 0 / 0.7488 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005444/0.2213, allocations: 95.88 kB / 0.7489 GB, free: 8.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.2226, allocations: 1.199 MB / 0.7501 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.2236, allocations: 0.5674 MB / 0.7506 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2236, allocations: 0 / 0.7506 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.2242, allocations: 387 kB / 0.751 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.2247, allocations: 45.11 kB / 0.751 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.2294, allocations: 3.346 MB / 0.7543 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.2298, allocations: 0.7792 MB / 0.7551 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.23, allocations: 54.25 kB / 0.7551 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2302, allocations: 71.41 kB / 0.7552 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.2302, allocations: 0 / 0.7552 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.2693, allocations: 6.852 MB / 0.7619 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.54, allocations: 14.33 kB / 0.7619 GB, free: 10.77 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.906123460037634] Failed to read output from testmodel.py, exit status != 0: 12.647250847890973 12.676871694 12.476850436 Calling exit ...