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.001278/0.001278, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001449/0.001449, allocations: 215.1 kB / 23.04 MB, free: 5.066 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.002535/0.002535, allocations: 289.2 kB / 313.5 MB, free: 2.785 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.231/1.231, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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.00279/0.00279, allocations: 99.16 kB / 0.7403 GB, free: 28.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1774, allocations: 95.39 MB / 0.8335 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002697/0.1801, allocations: 1.327 MB / 0.8348 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006594/0.1808, allocations: 299 kB / 0.8351 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.1808, allocations: 0 / 0.8351 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.1808, allocations: 3.938 kB / 0.8351 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1809, allocations: 19.89 kB / 0.8351 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.1813, allocations: 79.73 kB / 0.8352 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.581e-05/0.1814, allocations: 35.84 kB / 0.8352 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.1814, allocations: 0 / 0.8352 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1815, allocations: 35.91 kB / 0.8352 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.1816, allocations: 15.92 kB / 0.8353 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1816, allocations: 0 / 0.8353 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1818, allocations: 83.91 kB / 0.8353 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.1818, allocations: 3.938 kB / 0.8353 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.1818, allocations: 7.938 kB / 0.8354 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.182, allocations: 80 kB / 0.8354 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.182, allocations: 0 / 0.8354 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.182, allocations: 0 / 0.8354 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.182, allocations: 0 / 0.8354 GB, free: 6.617 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.000448/0.1825, allocations: 286.1 kB / 0.8357 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1825, allocations: 9.344 kB / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.715e-05/0.1825, allocations: 192 / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.1826, allocations: 34.69 kB / 0.8357 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1826, allocations: 8.891 kB / 0.8358 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1827, allocations: 114.5 kB / 0.8359 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1827, allocations: 384 / 0.8359 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1828, allocations: 3.938 kB / 0.8359 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1829, allocations: 37.69 kB / 0.8359 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1829, allocations: 7.984 kB / 0.8359 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1829, allocations: 0 / 0.8359 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1829, allocations: 0 / 0.8359 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.1829, allocations: 15.98 kB / 0.8359 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.1831, allocations: 132.7 kB / 0.8361 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1832, allocations: 38.45 kB / 0.8361 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.1833, allocations: 12.91 kB / 0.8361 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/0.1839, allocations: 139.9 kB / 0.8362 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.184, allocations: 34.55 kB / 0.8363 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.184, allocations: 0 / 0.8363 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001623/0.1841, allocations: 53.59 kB / 0.8363 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.1842, allocations: 63.33 kB / 0.8364 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.1843, allocations: 109.8 kB / 0.8365 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1843, allocations: 29.7 kB / 0.8365 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.1843, allocations: 80.14 kB / 0.8366 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1843, allocations: 3.953 kB / 0.8366 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1844, allocations: 21.67 kB / 0.8366 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1845, allocations: 310.8 kB / 0.8369 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.1845, allocations: 7.984 kB / 0.8369 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.1845, allocations: 8 kB / 0.8369 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/0.1846, allocations: 16.86 kB / 0.8369 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1846, allocations: 0 / 0.8369 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.315e-05/0.1847, allocations: 53.56 kB / 0.837 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1847, allocations: 4 kB / 0.837 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1847, allocations: 0 / 0.837 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1847, allocations: 0 / 0.837 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.1848, allocations: 8 kB / 0.837 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1848, allocations: 0 / 0.837 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.1848, allocations: 0 / 0.837 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.1848, allocations: 4 kB / 0.837 GB, free: 4.809 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.741e-05/0.1849, allocations: 122.4 kB / 0.8371 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.1849, allocations: 0 / 0.8371 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.185, allocations: 53.69 kB / 0.8372 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.185, allocations: 0 / 0.8372 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.185, allocations: 0 / 0.8372 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.185, allocations: 4.375 kB / 0.8372 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1851, allocations: 152.5 kB / 0.8373 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1851, allocations: 0 / 0.8373 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1852, allocations: 7.984 kB / 0.8373 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1852, allocations: 0 / 0.8373 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1852, allocations: 4 kB / 0.8373 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1852, allocations: 0 / 0.8373 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1852, allocations: 0 / 0.8373 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.1853, allocations: 73.05 kB / 0.8374 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.1853, allocations: 11.95 kB / 0.8374 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1853, allocations: 7.938 kB / 0.8374 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.1854, allocations: 4 kB / 0.8374 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.1854, allocations: 3.984 kB / 0.8374 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1854, allocations: 0 / 0.8374 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.1855, allocations: 83.59 kB / 0.8375 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1855, allocations: 0 / 0.8375 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002145/0.1857, allocations: 35.86 kB / 0.8375 GB, free: 4.172 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.0004892/0.1862, allocations: 0.6396 MB / 0.8382 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.43e-05/0.1863, allocations: 15.98 kB / 0.8382 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1863, allocations: 0 / 0.8382 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/0.1863, allocations: 7.938 kB / 0.8382 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.1865, allocations: 14.25 kB / 0.8382 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.1869, allocations: 169.4 kB / 0.8384 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1873, allocations: 0.6768 MB / 0.839 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.1873, allocations: 8.219 kB / 0.839 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1873, allocations: 15.44 kB / 0.8391 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1873, allocations: 0 / 0.8391 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.2089, allocations: 1.773 MB / 0.8408 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.13, allocations: 7.812 kB / 0.8408 GB, free: 0.918 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.375118697993457] Failed to read output from testmodel.py, exit status != 0: 11.293950398976449 11.320344217 11.133603911 Calling exit ...