Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.676/2.676, allocations: 287.5 MB / 302.4 MB, free: 8.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001335, allocations: 186.6 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000943/0.0009425, allocations: 88.95 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005137, allocations: 15.33 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001423/0.2293, allocations: 0.9743 MB / 0.9794 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00406/0.2334, allocations: 3.061 MB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.2335, allocations: 0 / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.2335, allocations: 0 / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.2336, allocations: 3.984 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.2341, allocations: 79.62 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.2342, allocations: 35.86 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.2342, allocations: 3.984 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.2343, allocations: 23.92 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.2344, allocations: 11.98 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.2344, allocations: 4 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.2347, allocations: 51.83 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.2347, allocations: 8 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.2347, allocations: 37.62 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.2349, allocations: 36.17 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2349, allocations: 0 / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2349, allocations: 7.938 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.2349, allocations: 0 / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003619/0.2353, allocations: 339.3 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2353, allocations: 16.02 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.2354, allocations: 34.56 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.2355, allocations: 7.953 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.191e-05/0.2356, allocations: 159.1 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2356, allocations: 7.984 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.2356, allocations: 8 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.2358, allocations: 53.66 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2358, allocations: 7.922 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2359, allocations: 8 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2359, allocations: 3.953 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.2359, allocations: 15.98 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.2361, allocations: 161.7 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.2362, allocations: 50.55 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.2363, allocations: 16.86 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/0.237, allocations: 0.6026 MB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2371, allocations: 38.5 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.184e-06/0.2371, allocations: 0 / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000657/0.2377, allocations: 298.6 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2378, allocations: 55.41 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.007e-05/0.2379, allocations: 97.86 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.2379, allocations: 29.7 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.2379, allocations: 88.03 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.238, allocations: 27.56 kB / 0.9847 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.238, allocations: 3.938 kB / 0.9847 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.2381, allocations: 322.8 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.2381, allocations: 8 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.2382, allocations: 57.08 kB / 0.9851 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.2383, allocations: 20 kB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2383, allocations: 0 / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001764/0.2385, allocations: 93.5 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2385, allocations: 12.12 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2385, allocations: 0 / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2385, allocations: 4 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2387, allocations: 19.98 kB / 0.9852 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2387, allocations: 3.938 kB / 0.9852 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.2388, allocations: 8 kB / 0.9852 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.2388, allocations: 4 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/0.2389, allocations: 115.2 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.2389, allocations: 7.859 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.239, allocations: 19.95 kB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.239, allocations: 0 / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.239, allocations: 0 / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.239, allocations: 0 / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.2393, allocations: 177.7 kB / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2393, allocations: 0 / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2395, allocations: 12.28 kB / 0.9856 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2395, allocations: 7.953 kB / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2396, allocations: 0 / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2396, allocations: 7.922 kB / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2396, allocations: 0 / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.2398, allocations: 167.5 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.2399, allocations: 89.05 kB / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.2399, allocations: 3.953 kB / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.2401, allocations: 11.94 kB / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.2401, allocations: 7.922 kB / 0.9858 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2401, allocations: 4 kB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.649e-05/0.2401, allocations: 75.28 kB / 0.9859 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2402, allocations: 4 kB / 0.9859 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000326/0.2405, allocations: 16 kB / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/0.2409, allocations: 0.7048 MB / 0.9866 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.241, allocations: 43.97 kB / 0.9867 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2411, allocations: 0 / 0.9867 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.2411, allocations: 23.92 kB / 0.9867 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.2415, allocations: 18.61 kB / 0.9867 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2427, allocations: 0.6626 MB / 0.9874 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.2429, allocations: 0.6887 MB / 0.988 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.935e-05/0.243, allocations: 8 kB / 0.988 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.243, allocations: 15.5 kB / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of SimCode: time 7.435e-06/0.243, allocations: 0 / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.2619, allocations: 1.409 MB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/0.2622, allocations: 191.4 kB / 0.9896 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/2.803, allocations: 0 / 0.9896 GB, free: 16.28 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)