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.001749/0.001749, allocations: 119 kB / 19.69 MB, free: 2.199 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.002126/0.002126, allocations: 222.1 kB / 23.01 MB, free: 5.043 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.98 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 0.9738/0.9738, allocations: 150 MB / 463.2 MB, free: 10.48 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.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.002064/0.002064, allocations: 66.27 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1808, allocations: 89.18 MB / 0.7283 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005266/0.1861, allocations: 3.169 MB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003537/0.1896, allocations: 2.045 MB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.1898, allocations: 11.94 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1908, allocations: 298.4 kB / 0.7337 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005951/0.1914, allocations: 199.1 kB / 0.7339 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.1922, allocations: 251.3 kB / 0.7342 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.1927, allocations: 326.9 kB / 0.7345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.1931, allocations: 157 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1933, allocations: 135.5 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.1937, allocations: 155.5 kB / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.1937, allocations: 20 kB / 0.7349 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007544/0.1945, allocations: 431.1 kB / 0.7353 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1946, allocations: 95.72 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1947, allocations: 119.4 kB / 0.7355 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007502/0.1954, allocations: 498.3 kB / 0.736 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1955, allocations: 4 kB / 0.736 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1955, allocations: 0 / 0.736 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.1955, allocations: 0 / 0.736 GB, free: 9.406 MB / 0.5606 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.001114/0.1966, allocations: 0.4971 MB / 0.7365 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.1966, allocations: 12.03 kB / 0.7365 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.733e-05/0.1967, allocations: 54.73 kB / 0.7366 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.1976, allocations: 108.7 kB / 0.7367 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.1981, allocations: 214 kB / 0.7369 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.1981, allocations: 12.81 kB / 0.7369 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.1981, allocations: 28.34 kB / 0.7369 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.1988, allocations: 344.9 kB / 0.7372 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1988, allocations: 7.938 kB / 0.7372 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.1988, allocations: 11.98 kB / 0.7373 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/0.1989, allocations: 24.42 kB / 0.7373 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005168/0.1994, allocations: 293.5 kB / 0.7376 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.2019, allocations: 1.627 MB / 0.7391 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.2024, allocations: 233.1 kB / 0.7394 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.2026, allocations: 109.5 kB / 0.7395 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.728e-05/0.2026, allocations: 11.94 kB / 0.7395 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.2027, allocations: 46.55 kB / 0.7395 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.2027, allocations: 96 / 0.7395 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002695/0.2054, allocations: 0.886 MB / 0.7404 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.2055, allocations: 93.02 kB / 0.7405 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.2058, allocations: 215.8 kB / 0.7407 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.2058, allocations: 25.7 kB / 0.7407 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.206, allocations: 176.4 kB / 0.7409 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.2061, allocations: 87.31 kB / 0.741 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.2062, allocations: 61.66 kB / 0.741 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.2064, allocations: 334.8 kB / 0.7413 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.2066, allocations: 127.8 kB / 0.7415 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.2069, allocations: 217 kB / 0.7417 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.2074, allocations: 366 kB / 0.742 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2074, allocations: 4 kB / 0.742 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009708/0.2084, allocations: 0.4997 MB / 0.7425 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2084, allocations: 4.312 kB / 0.7425 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.2084, allocations: 12 kB / 0.7425 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/0.2089, allocations: 151.3 kB / 0.7427 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.2092, allocations: 59.89 kB / 0.7427 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003615/0.2128, allocations: 3.98 MB / 0.7466 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.2131, allocations: 15.98 kB / 0.7466 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.2131, allocations: 19.98 kB / 0.7467 GB, free: 13.79 MB / 0.5762 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.0002456/0.2134, allocations: 165.8 kB / 0.7468 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.2134, allocations: 23.86 kB / 0.7468 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000909/0.2143, allocations: 478.5 kB / 0.7473 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.2144, allocations: 4 kB / 0.7473 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2144, allocations: 0 / 0.7473 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2144, allocations: 0 / 0.7473 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.216, allocations: 0.9756 MB / 0.7482 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.216, allocations: 0 / 0.7482 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.2161, allocations: 43.91 kB / 0.7483 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/0.2165, allocations: 135.6 kB / 0.7484 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.2166, allocations: 8 kB / 0.7484 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.2197, allocations: 3.96 MB / 0.7523 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2197, allocations: 4.031 kB / 0.7523 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.2206, allocations: 0.6155 MB / 0.7529 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2208, allocations: 51.81 kB / 0.7529 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.2208, allocations: 12 kB / 0.753 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.221, allocations: 19.97 kB / 0.753 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.2211, allocations: 27.91 kB / 0.753 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.2211, allocations: 8 kB / 0.753 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001595/0.2213, allocations: 156.2 kB / 0.7532 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2213, allocations: 0 / 0.7532 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005333/0.2218, allocations: 99.88 kB / 0.7533 GB, free: 6.578 MB / 0.5762 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.001249/0.223, allocations: 1.2 MB / 0.7544 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009782/0.224, allocations: 0.5659 MB / 0.755 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.224, allocations: 4 kB / 0.755 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.2245, allocations: 391.2 kB / 0.7554 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.2251, allocations: 44.47 kB / 0.7554 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.2295, allocations: 3.333 MB / 0.7587 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3297/0.5591, allocations: 0.7783 MB / 0.7594 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002611/0.5594, allocations: 58.05 kB / 0.7595 GB, free: 33.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.5595, allocations: 74.94 kB / 0.7595 GB, free: 33.68 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.5595, allocations: 0 / 0.7595 GB, free: 33.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/0.603, allocations: 7.12 MB / 0.7665 GB, free: 33.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.76, allocations: 1.469 kB / 0.7665 GB, free: 33.14 MB / 0.5762 GB " [Timeout remaining time 646] (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: 17.773501414998464] Failed to read output from testmodel.py, exit status != 0: 13.883656065998366 13.907871594 13.707774735 Calling exit ...