Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001314/0.001314, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00166/0.00166, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.01/1.01, allocations: 143.3 MB / 434.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003299, allocations: 8 kB / 0.5159 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 83.41 MB / 0.5973 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001543/0.2023, allocations: 0.9706 MB / 0.5983 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003442/0.2058, allocations: 2.826 MB / 0.601 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.2058, allocations: 0 / 0.601 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.2059, allocations: 3.984 kB / 0.6011 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.2059, allocations: 7.984 kB / 0.6011 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.2063, allocations: 87.72 kB / 0.6011 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.2064, allocations: 27.89 kB / 0.6012 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.2065, allocations: 4 kB / 0.6012 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.2065, allocations: 19.97 kB / 0.6012 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.2066, allocations: 15.92 kB / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.2066, allocations: 0 / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.2068, allocations: 67.84 kB / 0.6013 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.2068, allocations: 11.97 kB / 0.6013 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.2068, allocations: 29.7 kB / 0.6013 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.2069, allocations: 36.17 kB / 0.6013 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.207, allocations: 0 / 0.6013 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.207, allocations: 0 / 0.6013 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.207, allocations: 0 / 0.6013 GB, free: 3.621 MB / 0.4981 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.0003493/0.2073, allocations: 335.3 kB / 0.6017 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2074, allocations: 8.031 kB / 0.6017 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.2074, allocations: 42.56 kB / 0.6017 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.2075, allocations: 11.94 kB / 0.6017 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2076, allocations: 163 kB / 0.6019 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2077, allocations: 3.938 kB / 0.6019 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.2077, allocations: 8 kB / 0.6019 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.2078, allocations: 49.67 kB / 0.6019 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2078, allocations: 0 / 0.6019 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2079, allocations: 4 kB / 0.6019 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2079, allocations: 4 kB / 0.6019 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/0.2079, allocations: 15.94 kB / 0.602 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.2081, allocations: 177.6 kB / 0.6021 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/0.2082, allocations: 50.5 kB / 0.6022 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006815/0.2089, allocations: 0.5871 MB / 0.6028 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.2089, allocations: 42.52 kB / 0.6028 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.209, allocations: 0 / 0.6028 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000562/0.2095, allocations: 298.2 kB / 0.6031 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.2096, allocations: 55.41 kB / 0.6031 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.2096, allocations: 97.86 kB / 0.6032 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2097, allocations: 25.7 kB / 0.6032 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.2097, allocations: 87.98 kB / 0.6033 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.2098, allocations: 35.55 kB / 0.6034 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.2098, allocations: 4 kB / 0.6034 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2099, allocations: 314.8 kB / 0.6037 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.2099, allocations: 19.92 kB / 0.6037 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.21, allocations: 45.14 kB / 0.6037 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.21, allocations: 28.17 kB / 0.6038 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.21, allocations: 0 / 0.6038 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001303/0.2102, allocations: 93.5 kB / 0.6038 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2102, allocations: 8 kB / 0.6039 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2102, allocations: 0 / 0.6039 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2102, allocations: 4 kB / 0.6039 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.941e-05/0.2103, allocations: 27.92 kB / 0.6039 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.2103, allocations: 4.125 kB / 0.6039 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.2104, allocations: 4 kB / 0.6039 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.2104, allocations: 4 kB / 0.6039 GB, free: 0.6094 MB / 0.4981 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 9.058e-05/0.2105, allocations: 113.8 kB / 0.604 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.2105, allocations: 11.8 kB / 0.604 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.2106, allocations: 7.969 kB / 0.604 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2106, allocations: 4 kB / 0.604 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2106, allocations: 0 / 0.604 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2106, allocations: 3.984 kB / 0.604 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.2108, allocations: 181.7 kB / 0.6042 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2108, allocations: 3.938 kB / 0.6042 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.2109, allocations: 12 kB / 0.6042 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2109, allocations: 0 / 0.6042 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2109, allocations: 7.953 kB / 0.6042 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.211, allocations: 448 / 0.6042 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.211, allocations: 0 / 0.6042 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.2111, allocations: 163.5 kB / 0.6044 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3304/0.5415, allocations: 85.89 kB / 0.6045 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.5416, allocations: 1.312 kB / 0.6045 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.5418, allocations: 6.562 kB / 0.6045 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.5418, allocations: 8.094 kB / 0.6045 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.5418, allocations: 5.672 kB / 0.6045 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.5419, allocations: 79.19 kB / 0.6046 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5419, allocations: 0 / 0.6046 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003344/0.5422, allocations: 15.69 kB / 0.6046 GB, free: 41.34 MB / 0.4981 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.0004666/0.5427, allocations: 0.7111 MB / 0.6053 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.5428, allocations: 44.77 kB / 0.6053 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5428, allocations: 0 / 0.6053 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.5429, allocations: 18.97 kB / 0.6053 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.5431, allocations: 6.469 kB / 0.6053 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.5442, allocations: 1.43 MB / 0.6067 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.5443, allocations: 0.6863 MB / 0.6074 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.828e-05/0.5444, allocations: 12.64 kB / 0.6074 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.5444, allocations: 14.38 kB / 0.6074 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of SimCode: time 5.82e-07/0.5444, allocations: 0 / 0.6074 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.5559, allocations: 1.42 MB / 0.6088 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.5562, allocations: 182.9 kB / 0.609 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.152, allocations: 0 / 0.609 GB, free: 38.43 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: