Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001289/0.001289, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002222/0.002222, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.785 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.9644/0.9644, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.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.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.002312/0.002312, allocations: 69.67 kB / 0.6331 GB, free: 6.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1815, allocations: 87.89 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00273/0.1842, allocations: 1.282 MB / 0.7202 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003329/0.1845, allocations: 99.67 kB / 0.7203 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.1846, allocations: 3.938 kB / 0.7203 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.1846, allocations: 0 / 0.7203 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.1846, allocations: 4 kB / 0.7203 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.1849, allocations: 43.81 kB / 0.7203 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.338e-05/0.1849, allocations: 19.92 kB / 0.7203 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.185, allocations: 0 / 0.7203 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.185, allocations: 7.938 kB / 0.7203 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.185, allocations: 4 kB / 0.7204 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1851, allocations: 0 / 0.7204 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1852, allocations: 47.94 kB / 0.7204 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.1852, allocations: 0 / 0.7204 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.1852, allocations: 15.94 kB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1854, allocations: 39.88 kB / 0.7205 GB, free: 13.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1854, allocations: 0 / 0.7205 GB, free: 13.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1854, allocations: 0 / 0.7205 GB, free: 13.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1854, allocations: 3.938 kB / 0.7205 GB, free: 13.28 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004033/0.1858, allocations: 254.3 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1859, allocations: 12.03 kB / 0.7207 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.1859, allocations: 34.73 kB / 0.7207 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.1859, allocations: 4.938 kB / 0.7207 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.186, allocations: 110.5 kB / 0.7209 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1861, allocations: 8.312 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1861, allocations: 4.125 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.877e-05/0.1862, allocations: 33.7 kB / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1862, allocations: 0 / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1862, allocations: 0 / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1862, allocations: 0 / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.156e-05/0.1862, allocations: 7.984 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1864, allocations: 124.7 kB / 0.721 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.343e-05/0.1864, allocations: 26.55 kB / 0.721 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.1865, allocations: 12.78 kB / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.1869, allocations: 87.98 kB / 0.7211 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.187, allocations: 30.56 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.187, allocations: 0 / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.1871, allocations: 41.7 kB / 0.7212 GB, free: 12.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1872, allocations: 51.41 kB / 0.7213 GB, free: 12.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.1873, allocations: 101.8 kB / 0.7214 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1873, allocations: 29.7 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1873, allocations: 80.14 kB / 0.7215 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1873, allocations: 12.08 kB / 0.7215 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1874, allocations: 9.719 kB / 0.7215 GB, free: 12.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1875, allocations: 326.8 kB / 0.7218 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.1875, allocations: 0 / 0.7218 GB, free: 11.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.1875, allocations: 4 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.1876, allocations: 8.859 kB / 0.7218 GB, free: 11.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1876, allocations: 0 / 0.7218 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.05e-05/0.1876, allocations: 41.64 kB / 0.7218 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.1877, allocations: 14.02 kB / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1877, allocations: 96 / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1877, allocations: 4 kB / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.1877, allocations: 7.938 kB / 0.7219 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1877, allocations: 3.938 kB / 0.7219 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.1878, allocations: 0 / 0.7219 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.1878, allocations: 0 / 0.7219 GB, free: 11.63 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.825e-05/0.1878, allocations: 109.8 kB / 0.722 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.1879, allocations: 7.938 kB / 0.722 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.97e-05/0.188, allocations: 45 kB / 0.722 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.188, allocations: 3.938 kB / 0.722 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.188, allocations: 4.031 kB / 0.722 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.188, allocations: 4 kB / 0.722 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.1881, allocations: 124.6 kB / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1881, allocations: 4 kB / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.1881, allocations: 0 / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1881, allocations: 0 / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1881, allocations: 4 kB / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1881, allocations: 0 / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.1881, allocations: 7.938 kB / 0.7222 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.682e-05/0.1882, allocations: 65.06 kB / 0.7222 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.1882, allocations: 8.031 kB / 0.7222 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.1882, allocations: 4 kB / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.652e-05/0.1883, allocations: 0 / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.1883, allocations: 0 / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1883, allocations: 4 kB / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.1883, allocations: 79.27 kB / 0.7223 GB, free: 11.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1883, allocations: 0 / 0.7223 GB, free: 11.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002011/0.1885, allocations: 15.94 kB / 0.7223 GB, free: 11.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0004905/0.189, allocations: 0.624 MB / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.549e-05/0.1891, allocations: 12.03 kB / 0.723 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1891, allocations: 0 / 0.723 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.1891, allocations: 7.984 kB / 0.723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.1893, allocations: 4 kB / 0.723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1904, allocations: 1.095 MB / 0.724 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.607e-05/0.1905, allocations: 67.28 kB / 0.7241 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.1905, allocations: 8.125 kB / 0.7241 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.1905, allocations: 11.44 kB / 0.7241 GB, free: 9.105 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.1905, allocations: 0 / 0.7241 GB, free: 9.105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.2267, allocations: 1.973 MB / 0.7261 GB, free: 7.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.17, allocations: 14 kB / 0.7261 GB, free: 7.27 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.05612536193803] Failed to read output from testmodel.py, exit status != 0: 11.275002086069435 11.29907119 11.109018005 Calling exit ...