Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.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.001892/0.001892, allocations: 104.5 kB / 16.45 MB, free: 6.449 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.002224/0.002224, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.536/1.536, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9107/0.9107, allocations: 145 MB / 453.8 MB, free: 0.7109 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002951/0.002951, allocations: 64.84 kB / 0.628 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1815, allocations: 87.83 MB / 0.7138 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002984/0.1845, allocations: 1.27 MB / 0.715 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1862, allocations: 0.893 MB / 0.7159 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1863, allocations: 4 kB / 0.7159 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.1869, allocations: 255.1 kB / 0.7161 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.1876, allocations: 322.9 kB / 0.7164 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006548/0.1883, allocations: 261.6 kB / 0.7167 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000548/0.1888, allocations: 418.9 kB / 0.7171 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.189, allocations: 52.94 kB / 0.7171 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1892, allocations: 187.1 kB / 0.7173 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.1896, allocations: 275.1 kB / 0.7176 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.1896, allocations: 16 kB / 0.7176 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1898, allocations: 52 kB / 0.7176 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.19, allocations: 175.3 kB / 0.7178 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.1902, allocations: 198.4 kB / 0.718 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008194/0.191, allocations: 0.5093 MB / 0.7185 GB, free: 14.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.191, allocations: 0 / 0.7185 GB, free: 14.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.635e-06/0.191, allocations: 0 / 0.7185 GB, free: 14.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.1911, allocations: 0 / 0.7185 GB, free: 14.02 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00189/0.193, allocations: 0.9716 MB / 0.7194 GB, free: 12.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.193, allocations: 12.03 kB / 0.7194 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/0.1931, allocations: 46.73 kB / 0.7195 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1932, allocations: 68.47 kB / 0.7196 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008967/0.1941, allocations: 0.5009 MB / 0.72 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1941, allocations: 8.375 kB / 0.7201 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1941, allocations: 12.38 kB / 0.7201 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.1949, allocations: 299.8 kB / 0.7204 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1949, allocations: 3.938 kB / 0.7204 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1949, allocations: 8 kB / 0.7204 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.1949, allocations: 11.98 kB / 0.7204 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.1962, allocations: 407.5 kB / 0.7208 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.1977, allocations: 0.8829 MB / 0.7216 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.1991, allocations: 472.7 kB / 0.7221 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.1997, allocations: 197.8 kB / 0.7223 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.1998, allocations: 3.938 kB / 0.7223 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1998, allocations: 42.56 kB / 0.7223 GB, free: 9.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/0.1998, allocations: 0 / 0.7223 GB, free: 9.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.001874/0.2017, allocations: 0.6216 MB / 0.7229 GB, free: 9.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.2017, allocations: 85.05 kB / 0.723 GB, free: 9.168 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.203, allocations: 0.9262 MB / 0.7239 GB, free: 8.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.203, allocations: 29.7 kB / 0.7239 GB, free: 8.195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.2033, allocations: 292.5 kB / 0.7242 GB, free: 7.906 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.2034, allocations: 67.42 kB / 0.7243 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2035, allocations: 49.69 kB / 0.7243 GB, free: 7.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2036, allocations: 318 kB / 0.7246 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.2042, allocations: 171.8 kB / 0.7248 GB, free: 7.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.2047, allocations: 197 kB / 0.725 GB, free: 7.105 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.2058, allocations: 318.2 kB / 0.7253 GB, free: 6.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2058, allocations: 0 / 0.7253 GB, free: 6.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001206/0.207, allocations: 444.8 kB / 0.7257 GB, free: 6.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.207, allocations: 8 kB / 0.7257 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.207, allocations: 0 / 0.7257 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.207, allocations: 3.938 kB / 0.7257 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.2075, allocations: 83.78 kB / 0.7258 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2075, allocations: 4 kB / 0.7258 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.2078, allocations: 55.84 kB / 0.7259 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.2078, allocations: 7.984 kB / 0.7259 GB, free: 6.188 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[5],fctEsc1.u[4],fctEsc1.u[3],fctEsc1.u[2],fctEsc1.u[1],fctEscPer1.u[5],fctEscPer1.u[4],fctEscPer1.u[3],fctEscPer1.u[2],fctEscPer1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004451/0.2083, allocations: 245.7 kB / 0.7261 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.2085, allocations: 71.53 kB / 0.7262 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.2099, allocations: 0.4946 MB / 0.7266 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.2099, allocations: 4 kB / 0.7267 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.2099, allocations: 0 / 0.7267 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2099, allocations: 0 / 0.7267 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/0.2107, allocations: 493.2 kB / 0.7271 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2107, allocations: 4 kB / 0.7271 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.2111, allocations: 79.84 kB / 0.7272 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2111, allocations: 4 kB / 0.7272 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.2111, allocations: 11.94 kB / 0.7272 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2111, allocations: 0 / 0.7272 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2111, allocations: 0 / 0.7272 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.2125, allocations: 0.6113 MB / 0.7278 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.2127, allocations: 148.6 kB / 0.728 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.2128, allocations: 7.938 kB / 0.728 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.2131, allocations: 47.94 kB / 0.728 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.2133, allocations: 87.86 kB / 0.7281 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.2133, allocations: 7.984 kB / 0.7281 GB, free: 3.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009135/0.2143, allocations: 0.6747 MB / 0.7288 GB, free: 3.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2143, allocations: 0 / 0.7288 GB, free: 3.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004107/0.2147, allocations: 67.94 kB / 0.7288 GB, free: 3.055 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002842/0.2175, allocations: 1.424 MB / 0.7302 GB, free: 1.738 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.2188, allocations: 394.5 kB / 0.7306 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2188, allocations: 0 / 0.7306 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.2194, allocations: 239.7 kB / 0.7308 GB, free: 1.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.2201, allocations: 82.81 kB / 0.7309 GB, free: 1.043 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.2291, allocations: 5.57 MB / 0.7363 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.2297, allocations: 0.9084 MB / 0.7372 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003138/0.23, allocations: 107.2 kB / 0.7373 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.2304, allocations: 203.3 kB / 0.7375 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.2304, allocations: 7.938 kB / 0.7375 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3753/0.6056, allocations: 12.09 MB / 0.7493 GB, free: 32.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.966/9.572, allocations: 8.125 kB / 0.7493 GB, free: 32.53 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.700326014994062] Failed to read output from testmodel.py, exit status != 0: 9.703555080006481 9.718238178 9.523061615 Calling exit ...