Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.202/1.202, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008427/0.0008429, allocations: 180.9 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006603/0.0006603, allocations: 88.36 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002634, allocations: 11.56 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.0008669/0.1321, allocations: 0.9939 MB / 0.8972 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1343, allocations: 3.251 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.199e-05/0.1343, allocations: 3.938 kB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1343, allocations: 3.984 kB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.1343, allocations: 7.938 kB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.1347, allocations: 91.61 kB / 0.9004 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.943e-05/0.1347, allocations: 35.92 kB / 0.9005 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 2.574e-05/0.1347, allocations: 3.984 kB / 0.9005 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.1348, allocations: 23.92 kB / 0.9005 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.1348, allocations: 11.92 kB / 0.9005 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.1348, allocations: 7.984 kB / 0.9005 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.135, allocations: 71.81 kB / 0.9006 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.135, allocations: 4 kB / 0.9006 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.135, allocations: 23.91 kB / 0.9006 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1352, allocations: 72.08 kB / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1352, allocations: 0 / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1352, allocations: 0 / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.1352, allocations: 0 / 0.9007 GB, free: 63.44 MB / 0.6042 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.0002192/0.1354, allocations: 339.5 kB / 0.901 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.1354, allocations: 8.031 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.34e-05/0.1355, allocations: 34.75 kB / 0.901 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.1355, allocations: 12.94 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.403e-05/0.1356, allocations: 164.3 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.1356, allocations: 4.375 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1356, allocations: 12.27 kB / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.78e-05/0.1357, allocations: 53.62 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.1357, allocations: 3.938 kB / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.1357, allocations: 7.984 kB / 0.9013 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1358, allocations: 0 / 0.9013 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.754e-05/0.1358, allocations: 19.97 kB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.274e-05/0.1359, allocations: 161.7 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.425e-05/0.136, allocations: 58.48 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.136, allocations: 16.86 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.1364, allocations: 0.5948 MB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.1364, allocations: 42.48 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1364, allocations: 0 / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003732/0.1368, allocations: 302.1 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.493e-05/0.1369, allocations: 55.41 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.405e-05/0.1369, allocations: 101.8 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.1369, allocations: 25.7 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.824e-05/0.1369, allocations: 96.03 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.1369, allocations: 23.66 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.137, allocations: 17.7 kB / 0.9027 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 2.764e-05/0.137, allocations: 314.8 kB / 0.903 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.137, allocations: 12 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.1371, allocations: 53.08 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.625e-05/0.1371, allocations: 77.08 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1371, allocations: 0 / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.32e-05/0.1372, allocations: 97.45 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.1372, allocations: 4.125 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1372, allocations: 15.88 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.1373, allocations: 0 / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.1373, allocations: 23.98 kB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1373, allocations: 0 / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.1374, allocations: 7.938 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1374, allocations: 8 kB / 0.9033 GB, free: 60.3 MB / 0.6042 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 3.863e-05/0.1374, allocations: 113.8 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1375, allocations: 4 kB / 0.9034 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.1375, allocations: 11.97 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.1375, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1375, allocations: 4 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1375, allocations: 3.938 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1377, allocations: 173.7 kB / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1377, allocations: 448 / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.1377, allocations: 15.98 kB / 0.9036 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1377, allocations: 288 / 0.9036 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1378, allocations: 4 kB / 0.9036 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1378, allocations: 4 kB / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1378, allocations: 0 / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.1379, allocations: 187.3 kB / 0.9038 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.1379, allocations: 81.11 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1379, allocations: 4.031 kB / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.138, allocations: 0 / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.138, allocations: 11.88 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.138, allocations: 8 kB / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.401e-05/0.1381, allocations: 79.27 kB / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1381, allocations: 4 kB / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001925/0.1383, allocations: 16 kB / 0.904 GB, free: 59.48 MB / 0.6042 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.0002029/0.1385, allocations: 0.7046 MB / 0.9047 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.859e-05/0.1385, allocations: 44.11 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1386, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.1386, allocations: 12 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.1388, allocations: 11.94 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.1396, allocations: 1.537 MB / 0.9063 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.346e-05/0.1397, allocations: 0.6848 MB / 0.9069 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.1398, allocations: 11.98 kB / 0.907 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1398, allocations: 15.44 kB / 0.907 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.1398, allocations: 0 / 0.907 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.545/1.685, allocations: 1.439 MB / 0.9084 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/1.685, allocations: 203.8 kB / 0.9086 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/3.489, allocations: 3.875 kB / 0.9086 GB, free: 54.73 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)