Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001531/0.001531, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001949/0.001949, allocations: 223.3 kB / 23.03 MB, free: 4.945 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00254/0.00254, allocations: 292.7 kB / 313.5 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.25/1.25, allocations: 180.6 MB / 0.5377 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002882/0.002882, allocations: 96.25 kB / 0.7403 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1926, allocations: 95.38 MB / 0.8334 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002795/0.1954, allocations: 1.312 MB / 0.8347 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006365/0.196, allocations: 275 kB / 0.8349 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.1961, allocations: 0 / 0.8349 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.1961, allocations: 3.938 kB / 0.8349 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.1962, allocations: 11.91 kB / 0.835 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1965, allocations: 87.67 kB / 0.835 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.479e-05/0.1966, allocations: 35.91 kB / 0.8351 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.1967, allocations: 3.938 kB / 0.8351 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1968, allocations: 31.84 kB / 0.8351 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.1969, allocations: 19.94 kB / 0.8351 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1969, allocations: 0 / 0.8351 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.197, allocations: 79.91 kB / 0.8352 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.1971, allocations: 7.984 kB / 0.8352 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1971, allocations: 7.938 kB / 0.8352 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1973, allocations: 76 kB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1973, allocations: 0 / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1973, allocations: 0 / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1973, allocations: 0 / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004428/0.1977, allocations: 282.1 kB / 0.8356 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1978, allocations: 17.34 kB / 0.8356 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.383e-05/0.1978, allocations: 192 / 0.8356 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.1978, allocations: 30.75 kB / 0.8356 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.1979, allocations: 8.891 kB / 0.8356 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.198, allocations: 106.5 kB / 0.8357 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.198, allocations: 4.312 kB / 0.8357 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.198, allocations: 3.938 kB / 0.8357 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1981, allocations: 71.33 kB / 0.8358 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1982, allocations: 0 / 0.8358 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1982, allocations: 3.984 kB / 0.8358 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1982, allocations: 0 / 0.8358 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.629e-05/0.1982, allocations: 15.98 kB / 0.8358 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.1984, allocations: 132.7 kB / 0.8359 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1985, allocations: 34.52 kB / 0.836 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.1985, allocations: 8.922 kB / 0.836 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007293/0.1993, allocations: 147.8 kB / 0.8361 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1993, allocations: 30.56 kB / 0.8362 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1993, allocations: 0 / 0.8362 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.1995, allocations: 53.64 kB / 0.8362 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1995, allocations: 51.41 kB / 0.8363 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.1996, allocations: 105.8 kB / 0.8364 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1996, allocations: 25.7 kB / 0.8364 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.1997, allocations: 88.14 kB / 0.8365 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1997, allocations: 11.92 kB / 0.8365 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1997, allocations: 17.67 kB / 0.8365 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1999, allocations: 314.8 kB / 0.8368 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.1999, allocations: 11.94 kB / 0.8368 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.1999, allocations: 7.984 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.1999, allocations: 16.86 kB / 0.8368 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1999, allocations: 3.938 kB / 0.8368 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.937e-05/0.2, allocations: 49.62 kB / 0.8369 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2, allocations: 4 kB / 0.8369 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2, allocations: 0 / 0.8369 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2001, allocations: 0 / 0.8369 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.2001, allocations: 8 kB / 0.8369 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2001, allocations: 0 / 0.8369 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.2001, allocations: 4 kB / 0.8369 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2001, allocations: 3.938 kB / 0.8369 GB, free: 4.535 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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 9.684e-05/0.2002, allocations: 114.4 kB / 0.837 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.2003, allocations: 3.938 kB / 0.837 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.2004, allocations: 61.67 kB / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2004, allocations: 0 / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2004, allocations: 4 kB / 0.8371 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.2004, allocations: 0 / 0.8371 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2005, allocations: 144.6 kB / 0.8372 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2005, allocations: 0 / 0.8372 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.2006, allocations: 4.375 kB / 0.8372 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2006, allocations: 0 / 0.8372 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2006, allocations: 4 kB / 0.8372 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2006, allocations: 0 / 0.8372 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2006, allocations: 3.938 kB / 0.8372 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2007, allocations: 81.05 kB / 0.8373 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.2007, allocations: 7.938 kB / 0.8373 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.2007, allocations: 4 kB / 0.8373 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.2008, allocations: 0 / 0.8373 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.2008, allocations: 4 kB / 0.8373 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.2008, allocations: 4 kB / 0.8373 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.2009, allocations: 87.27 kB / 0.8374 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2009, allocations: 0 / 0.8374 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002321/0.2011, allocations: 27.88 kB / 0.8374 GB, free: 3.906 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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.0005138/0.2016, allocations: 0.6396 MB / 0.8381 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.2017, allocations: 16 kB / 0.8381 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2017, allocations: 0 / 0.8381 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.587e-05/0.2017, allocations: 4 kB / 0.8381 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.202, allocations: 14.8 kB / 0.8381 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.2024, allocations: 173.4 kB / 0.8383 GB, free: 3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.629e-05/0.2025, allocations: 67.28 kB / 0.8383 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.408e-05/0.2025, allocations: 16.52 kB / 0.8383 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.2025, allocations: 11.38 kB / 0.8383 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.2025, allocations: 0 / 0.8383 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.229, allocations: 1.815 MB / 0.8401 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.19, allocations: 12.14 kB / 0.8401 GB, free: 1.223 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.470237298985012] Failed to read output from testmodel.py, exit status != 0: 11.354079675977118 11.381197179 11.179338175 Calling exit ...