Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009983/0.0009984, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001017/0.001017, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00195/0.00195, allocations: 279 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8733/0.8733, allocations: 169.2 MB / 0.4977 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 92.08 kB / 0.5946 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1384, allocations: 86.98 MB / 0.6795 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002147/0.1406, allocations: 1.31 MB / 0.6808 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.1436, allocations: 3.242 MB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.1437, allocations: 0 / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.1437, allocations: 3.984 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.091e-05/0.1438, allocations: 3.938 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1442, allocations: 95.66 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.1442, allocations: 31.86 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.856e-05/0.1443, allocations: 4 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.1443, allocations: 19.92 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.1444, allocations: 23.91 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1444, allocations: 0 / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.1446, allocations: 79.75 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.1446, allocations: 11.98 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.1446, allocations: 19.92 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1448, allocations: 68.08 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1448, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1448, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1448, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB 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.0003537/0.1452, allocations: 343.5 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1452, allocations: 8.031 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.1453, allocations: 38.75 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.486e-05/0.1453, allocations: 12.84 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.1454, allocations: 164.4 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1455, allocations: 4.375 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1455, allocations: 4.375 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1456, allocations: 61.55 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1456, allocations: 0 / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1456, allocations: 4 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1456, allocations: 0 / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.1457, allocations: 15.98 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.1458, allocations: 181.6 kB / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.1459, allocations: 50.5 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.146, allocations: 20.84 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006039/0.1466, allocations: 0.5946 MB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1466, allocations: 34.56 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1466, allocations: 4 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004997/0.1471, allocations: 298.5 kB / 0.6861 GB, free: 9.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.1472, allocations: 55.41 kB / 0.6862 GB, free: 9.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.1472, allocations: 105.7 kB / 0.6863 GB, free: 9.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1473, allocations: 29.7 kB / 0.6863 GB, free: 9.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.1473, allocations: 84.05 kB / 0.6864 GB, free: 9.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.1473, allocations: 27.56 kB / 0.6864 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1474, allocations: 33.7 kB / 0.6864 GB, free: 9.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.1474, allocations: 310.8 kB / 0.6867 GB, free: 9.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.1475, allocations: 19.92 kB / 0.6867 GB, free: 9.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/0.1475, allocations: 53.14 kB / 0.6868 GB, free: 9.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.707e-05/0.1476, allocations: 73.09 kB / 0.6869 GB, free: 9.113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1476, allocations: 0 / 0.6869 GB, free: 9.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001309/0.1478, allocations: 89.55 kB / 0.6869 GB, free: 9.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1478, allocations: 4 kB / 0.6869 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1478, allocations: 8.125 kB / 0.687 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1478, allocations: 0 / 0.687 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.1479, allocations: 23.92 kB / 0.687 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1479, allocations: 4 kB / 0.687 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.1479, allocations: 7.938 kB / 0.687 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1479, allocations: 4 kB / 0.687 GB, free: 8.969 MB / 494.1 MB 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 6.347e-05/0.148, allocations: 114.5 kB / 0.6871 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1481, allocations: 7.906 kB / 0.6871 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.1481, allocations: 11.95 kB / 0.6871 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1481, allocations: 4 kB / 0.6871 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1481, allocations: 0 / 0.6871 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1481, allocations: 7.938 kB / 0.6871 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.1483, allocations: 169.7 kB / 0.6873 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1483, allocations: 448 / 0.6873 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.1484, allocations: 19.94 kB / 0.6873 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1484, allocations: 0 / 0.6873 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1484, allocations: 4 kB / 0.6873 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1484, allocations: 7.922 kB / 0.6873 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1485, allocations: 4 kB / 0.6873 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.1486, allocations: 179.8 kB / 0.6875 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.1487, allocations: 89.05 kB / 0.6876 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1487, allocations: 96 / 0.6876 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1488, allocations: 4 kB / 0.6876 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.1488, allocations: 15.91 kB / 0.6876 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1488, allocations: 4 kB / 0.6876 GB, free: 8.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.699e-05/0.1489, allocations: 79.22 kB / 0.6877 GB, free: 8.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1489, allocations: 0 / 0.6877 GB, free: 8.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000225/0.1491, allocations: 20 kB / 0.6877 GB, free: 8.152 MB / 494.1 MB 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.0003567/0.1495, allocations: 0.6969 MB / 0.6884 GB, free: 7.426 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.095e-05/0.1496, allocations: 39.95 kB / 0.6884 GB, free: 7.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1496, allocations: 4.25 kB / 0.6884 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.408e-05/0.1496, allocations: 23.92 kB / 0.6884 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1499, allocations: 7.938 kB / 0.6885 GB, free: 7.352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1511, allocations: 1.533 MB / 0.6899 GB, free: 5.707 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.1513, allocations: 0.6809 MB / 0.6906 GB, free: 5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.1513, allocations: 8 kB / 0.6906 GB, free: 4.992 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.1514, allocations: 19.42 kB / 0.6906 GB, free: 4.973 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1514, allocations: 3.938 kB / 0.6906 GB, free: 4.969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2092/0.3606, allocations: 1.516 MB / 0.6921 GB, free: 3.555 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.3608, allocations: 207.7 kB / 0.6923 GB, free: 3.301 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/1.981, allocations: 3.938 kB / 0.6923 GB, free: 3.297 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)