Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001364/0.001364, allocations: 118.8 kB / 17.84 MB, free: 5.254 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.001463/0.001463, allocations: 201.6 kB / 20.79 MB, free: 2.316 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.521/1.521, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.9962/0.9962, allocations: 150 MB / 460.2 MB, free: 5.316 MB / 350.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.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",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.001968/0.001968, allocations: 66.06 kB / 0.6368 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1835, allocations: 89.13 MB / 0.7238 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002626/0.1861, allocations: 1.298 MB / 0.7251 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005868/0.1867, allocations: 287.5 kB / 0.7254 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.1868, allocations: 0 / 0.7254 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.1868, allocations: 3.938 kB / 0.7254 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.1869, allocations: 11.91 kB / 0.7254 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1872, allocations: 59.73 kB / 0.7255 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1873, allocations: 39.84 kB / 0.7255 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.1874, allocations: 8 kB / 0.7255 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1875, allocations: 27.91 kB / 0.7255 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1875, allocations: 11.94 kB / 0.7255 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1876, allocations: 3.938 kB / 0.7255 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.1877, allocations: 79.91 kB / 0.7256 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.1877, allocations: 11.92 kB / 0.7256 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.1878, allocations: 15.86 kB / 0.7256 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1879, allocations: 76.02 kB / 0.7257 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1879, allocations: 0 / 0.7257 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.655e-06/0.188, allocations: 0 / 0.7257 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.188, allocations: 0 / 0.7257 GB, free: 2.23 MB / 0.5294 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.0004624/0.1884, allocations: 355.2 kB / 0.7261 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1885, allocations: 12.03 kB / 0.7261 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.341e-05/0.1885, allocations: 4.188 kB / 0.7261 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.1885, allocations: 30.75 kB / 0.7261 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005643/0.1891, allocations: 44.86 kB / 0.7261 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1892, allocations: 176.3 kB / 0.7263 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1893, allocations: 384 / 0.7263 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.1893, allocations: 7.938 kB / 0.7263 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1895, allocations: 65.59 kB / 0.7264 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1895, allocations: 3.984 kB / 0.7264 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1895, allocations: 0 / 0.7264 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1895, allocations: 4 kB / 0.7264 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.1897, allocations: 31.95 kB / 0.7264 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.1902, allocations: 260.8 kB / 0.7267 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1903, allocations: 42.56 kB / 0.7267 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.1904, allocations: 22.8 kB / 0.7267 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1904, allocations: 3.938 kB / 0.7267 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1904, allocations: 30.56 kB / 0.7268 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1904, allocations: 0 / 0.7268 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000295/0.1907, allocations: 77.61 kB / 0.7268 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1908, allocations: 51.41 kB / 0.7269 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.1909, allocations: 105.8 kB / 0.727 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1909, allocations: 25.7 kB / 0.727 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.1909, allocations: 84.14 kB / 0.7271 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.1909, allocations: 3.953 kB / 0.7271 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.191, allocations: 17.72 kB / 0.7271 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1911, allocations: 322.9 kB / 0.7274 GB, free: 264 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.1912, allocations: 11.94 kB / 0.7274 GB, free: 252 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.901e-05/0.1912, allocations: 11.98 kB / 0.7274 GB, free: 240 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1914, allocations: 28.84 kB / 0.7275 GB, free: 208 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1914, allocations: 0 / 0.7275 GB, free: 208 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001539/0.1915, allocations: 57.73 kB / 0.7275 GB, free: 144 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1915, allocations: 4 kB / 0.7275 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1915, allocations: 0 / 0.7275 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1915, allocations: 3.938 kB / 0.7275 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.1916, allocations: 15.98 kB / 0.7276 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1916, allocations: 0 / 0.7276 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1917, allocations: 0 / 0.7276 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1917, allocations: 4 kB / 0.7276 GB, free: 116 kB / 0.5294 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 0.0001006/0.1918, allocations: 117.7 kB / 0.7277 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.1918, allocations: 11.98 kB / 0.7277 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.1919, allocations: 7.516 kB / 0.7277 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1919, allocations: 0 / 0.7277 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1919, allocations: 0 / 0.7277 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1919, allocations: 0 / 0.7277 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1921, allocations: 165.6 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1921, allocations: 3.938 kB / 0.7279 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.1921, allocations: 7.984 kB / 0.7279 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1921, allocations: 0 / 0.7279 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1921, allocations: 0 / 0.7279 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1921, allocations: 8 kB / 0.7279 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1921, allocations: 0 / 0.7279 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1923, allocations: 147.5 kB / 0.728 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.1924, allocations: 89 kB / 0.7281 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1924, allocations: 7.984 kB / 0.7281 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.1925, allocations: 4 kB / 0.7281 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.1925, allocations: 7.969 kB / 0.7281 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1925, allocations: 0 / 0.7281 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.384e-05/0.1926, allocations: 91.25 kB / 0.7282 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1926, allocations: 0 / 0.7282 GB, free: 15.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002205/0.1928, allocations: 11.94 kB / 0.7282 GB, free: 15.35 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.0005462/0.1934, allocations: 0.6813 MB / 0.7289 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1935, allocations: 31.91 kB / 0.7289 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1935, allocations: 0 / 0.7289 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.492e-05/0.1936, allocations: 8 kB / 0.7289 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.1939, allocations: 3.984 kB / 0.7289 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.1944, allocations: 171.8 kB / 0.7291 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1948, allocations: 0.6806 MB / 0.7297 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.782e-05/0.1948, allocations: 8 kB / 0.7298 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.1949, allocations: 7.438 kB / 0.7298 GB, free: 13.67 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1949, allocations: 0 / 0.7298 GB, free: 13.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.2175, allocations: 1.266 MB / 0.731 GB, free: 12.56 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/8.506, allocations: 15.92 kB / 0.731 GB, free: 12.54 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.455736450967379] Failed to read output from testmodel.py, exit status != 0: 8.630300368007738 8.646823295 8.45571465 Calling exit ...