Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.001503/0.001503, 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.001696/0.001696, allocations: 218.3 kB / 23.04 MB, free: 5.074 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002485/0.002485, allocations: 291.1 kB / 313.5 MB, free: 2.809 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.174/1.174, allocations: 180.6 MB / 0.5377 GB, free: 12.87 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.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",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.002763/0.002763, allocations: 98.89 kB / 0.7403 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1757, allocations: 95.38 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001586/0.1773, allocations: 0.534 MB / 0.834 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001618/0.1774, allocations: 44.16 kB / 0.834 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.1775, allocations: 8 kB / 0.8341 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.1775, allocations: 0 / 0.8341 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1776, allocations: 0 / 0.8341 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-05/0.1777, allocations: 19.91 kB / 0.8341 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.1777, allocations: 4 kB / 0.8341 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.1778, allocations: 0 / 0.8341 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.1778, allocations: 7.984 kB / 0.8341 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.1779, allocations: 11.94 kB / 0.8341 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1779, allocations: 3.938 kB / 0.8341 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.1779, allocations: 0 / 0.8341 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.1779, allocations: 11.97 kB / 0.8341 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.178, allocations: 7.938 kB / 0.8341 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 6.5e-05/0.178, allocations: 4.281 kB / 0.8341 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.178, allocations: 4 kB / 0.8341 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.296e-06/0.178, allocations: 3.984 kB / 0.8341 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.178, allocations: 3.938 kB / 0.8341 GB, free: 7.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004048/0.1785, allocations: 254.3 kB / 0.8344 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1785, allocations: 13.34 kB / 0.8344 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.491e-05/0.1785, allocations: 4.188 kB / 0.8344 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.1785, allocations: 34.75 kB / 0.8344 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.919e-05/0.1785, allocations: 0.9375 kB / 0.8344 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1787, allocations: 122.5 kB / 0.8345 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.1787, allocations: 384 / 0.8345 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1787, allocations: 384 / 0.8345 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.893e-05/0.1788, allocations: 34.02 kB / 0.8346 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1788, allocations: 3.984 kB / 0.8346 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.1788, allocations: 0 / 0.8346 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1788, allocations: 7.938 kB / 0.8346 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.396e-05/0.1788, allocations: 0 / 0.8346 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.179, allocations: 128.8 kB / 0.8347 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/0.179, allocations: 22.61 kB / 0.8347 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.179, allocations: 8.922 kB / 0.8347 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.179, allocations: 3.984 kB / 0.8347 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1791, allocations: 34.5 kB / 0.8348 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1791, allocations: 0 / 0.8348 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001234/0.1792, allocations: 49.62 kB / 0.8348 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1792, allocations: 51.41 kB / 0.8349 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.1793, allocations: 109.8 kB / 0.835 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1793, allocations: 29.7 kB / 0.835 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.1794, allocations: 88.08 kB / 0.8351 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1794, allocations: 3.953 kB / 0.8351 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.1794, allocations: 13.72 kB / 0.8351 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1796, allocations: 319 kB / 0.8354 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.1796, allocations: 8 kB / 0.8354 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.1796, allocations: 17.7 kB / 0.8354 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.1796, allocations: 25.66 kB / 0.8355 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1796, allocations: 0 / 0.8355 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.625e-05/0.1797, allocations: 45.62 kB / 0.8355 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1797, allocations: 14.09 kB / 0.8355 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1797, allocations: 0 / 0.8355 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1797, allocations: 0 / 0.8355 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.1798, allocations: 7.938 kB / 0.8355 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1798, allocations: 3.984 kB / 0.8355 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.1798, allocations: 4 kB / 0.8355 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1798, allocations: 0 / 0.8355 GB, free: 6.344 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.465e-05/0.1799, allocations: 114.5 kB / 0.8356 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.1799, allocations: 3.938 kB / 0.8356 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.71e-05/0.18, allocations: 57.14 kB / 0.8357 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.18, allocations: 0 / 0.8357 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.18, allocations: 0 / 0.8357 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.18, allocations: 3.938 kB / 0.8357 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1801, allocations: 132.7 kB / 0.8358 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1801, allocations: 4 kB / 0.8358 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.1802, allocations: 0 / 0.8358 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1802, allocations: 3.938 kB / 0.8358 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.1802, allocations: 7.984 kB / 0.8358 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1802, allocations: 0 / 0.8358 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1802, allocations: 4.031 kB / 0.8358 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.1803, allocations: 73.11 kB / 0.8359 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.1803, allocations: 7.969 kB / 0.8359 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1803, allocations: 0 / 0.8359 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.1803, allocations: 0 / 0.8359 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1804, allocations: 7.984 kB / 0.8359 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1804, allocations: 256 / 0.8359 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.1804, allocations: 95.38 kB / 0.836 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1804, allocations: 0 / 0.836 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001732/0.1806, allocations: 3.938 kB / 0.836 GB, free: 5.754 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0003889/0.181, allocations: 0.6124 MB / 0.8366 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.65e-05/0.1811, allocations: 20.02 kB / 0.8366 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1811, allocations: 3.938 kB / 0.8366 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.1811, allocations: 15.98 kB / 0.8367 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.1812, allocations: 0 / 0.8367 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1822, allocations: 1.151 MB / 0.8378 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1825, allocations: 0.6768 MB / 0.8384 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.1825, allocations: 4 kB / 0.8385 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1826, allocations: 19.38 kB / 0.8385 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.1826, allocations: 0 / 0.8385 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.2049, allocations: 1.349 MB / 0.8398 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.75, allocations: 9.859 kB / 0.8398 GB, free: 1.902 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.720499444985762] Failed to read output from testmodel.py, exit status != 0: 10.894938874989748 10.910440252 10.729393813 Calling exit ...