Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 107.4 kB / 15.34 MB, free: 0.5195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 191.1 kB / 16.25 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 65.48 kB / 0.6711 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2147, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002368/0.2171, allocations: 1.333 MB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003428/0.2206, allocations: 3.223 MB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.2206, allocations: 0 / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.2207, allocations: 0 / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.2208, allocations: 3.938 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.2213, allocations: 107.5 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.2213, allocations: 31.92 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.2214, allocations: 7.984 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.2214, allocations: 15.88 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.2215, allocations: 23.91 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.2215, allocations: 0 / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.2217, allocations: 79.81 kB / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.2217, allocations: 11.97 kB / 0.7877 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.2218, allocations: 15.94 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2219, allocations: 76.06 kB / 0.7878 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2219, allocations: 4 kB / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.222, allocations: 0 / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.222, allocations: 0 / 0.7878 GB, free: 8.859 MB / 0.6075 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.0003494/0.2223, allocations: 339.4 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2224, allocations: 12.03 kB / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.2224, allocations: 46.61 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.2225, allocations: 4.938 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.831e-05/0.2226, allocations: 160.4 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.2226, allocations: 8.375 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.2226, allocations: 8.375 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2228, allocations: 57.61 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2228, allocations: 0 / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2228, allocations: 7.984 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2228, allocations: 0 / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.2229, allocations: 23.91 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.223, allocations: 169.6 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.025e-05/0.2231, allocations: 50.56 kB / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.2231, allocations: 20.84 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/0.2238, allocations: 0.5869 MB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.2238, allocations: 34.56 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2238, allocations: 3.938 kB / 0.7892 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005189/0.2244, allocations: 310.5 kB / 0.7895 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.2244, allocations: 51.41 kB / 0.7896 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.474e-05/0.2245, allocations: 105.7 kB / 0.7897 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2245, allocations: 29.7 kB / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.2245, allocations: 80.14 kB / 0.7898 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.2246, allocations: 31.55 kB / 0.7898 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2246, allocations: 25.72 kB / 0.7898 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.2247, allocations: 322.8 kB / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.2247, allocations: 12 kB / 0.7902 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.623e-05/0.2248, allocations: 53.14 kB / 0.7902 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.2249, allocations: 77.02 kB / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2249, allocations: 0 / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001397/0.225, allocations: 93.45 kB / 0.7904 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.225, allocations: 8 kB / 0.7904 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.225, allocations: 0 / 0.7904 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2251, allocations: 4 kB / 0.7904 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.2251, allocations: 20.12 kB / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.2251, allocations: 3.984 kB / 0.7904 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.2252, allocations: 11.94 kB / 0.7904 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.2252, allocations: 4 kB / 0.7904 GB, free: 5.707 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.378e-05/0.2253, allocations: 118.4 kB / 0.7905 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.2253, allocations: 0 / 0.7905 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.2254, allocations: 7.969 kB / 0.7905 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2254, allocations: 4.281 kB / 0.7906 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2254, allocations: 0 / 0.7906 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2254, allocations: 12.31 kB / 0.7906 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.2256, allocations: 169.7 kB / 0.7907 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2256, allocations: 3.984 kB / 0.7907 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.2257, allocations: 27.92 kB / 0.7908 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.2257, allocations: 0 / 0.7908 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2257, allocations: 4 kB / 0.7908 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2257, allocations: 0 / 0.7908 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2257, allocations: 0 / 0.7908 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2259, allocations: 183.3 kB / 0.7909 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.226, allocations: 81.11 kB / 0.791 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.226, allocations: 0 / 0.791 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2261, allocations: 12.03 kB / 0.791 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.2261, allocations: 3.938 kB / 0.791 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2261, allocations: 4 kB / 0.791 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.2262, allocations: 75.28 kB / 0.7911 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2262, allocations: 4 kB / 0.7911 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002414/0.2264, allocations: 12 kB / 0.7911 GB, free: 4.906 MB / 0.6075 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 (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.000407/0.2268, allocations: 0.7164 MB / 0.7918 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.227, allocations: 43.91 kB / 0.7919 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.227, allocations: 0 / 0.7919 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.431e-05/0.227, allocations: 20.19 kB / 0.7919 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.2273, allocations: 16.72 kB / 0.7919 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2286, allocations: 1.528 MB / 0.7934 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2288, allocations: 0.6807 MB / 0.7941 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.82e-05/0.2289, allocations: 15.97 kB / 0.7941 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.2289, allocations: 15.44 kB / 0.7941 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.2289, allocations: 0 / 0.7941 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1416/0.3705, allocations: 1.542 MB / 0.7956 GB, free: 268 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.3706, allocations: 199.3 kB / 0.7958 GB, free: 0 / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.222, allocations: 0 / 0.7958 GB, free: 0 / 0.6075 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)