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.526/1.526, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008844/0.0008844, allocations: 98.39 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.166e-05, allocations: 0 / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2465, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.309, allocations: 359.4 MB / 1.243 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.31, allocations: 68.91 kB / 1.243 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6533/1.963, allocations: 12.71 MB / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/1.963, allocations: 0 / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.963, allocations: 1.094 kB / 1.255 GB, free: 309.9 MB / 0.8542 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.0003404/1.963, allocations: 341.2 kB / 1.256 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.963, allocations: 9.656 kB / 1.256 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/1.963, allocations: 36.66 kB / 1.256 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/1.964, allocations: 8.359 kB / 1.256 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.06e-05/1.964, allocations: 168.3 kB / 1.256 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.964, allocations: 2.406 kB / 1.256 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/1.964, allocations: 10.38 kB / 1.256 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/1.964, allocations: 53.91 kB / 1.256 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.964, allocations: 0 / 1.256 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.964, allocations: 1.281 kB / 1.256 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/1.964, allocations: 1.25 kB / 1.256 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/1.964, allocations: 21.75 kB / 1.256 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/1.964, allocations: 170 kB / 1.256 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.81e-05/1.964, allocations: 52.81 kB / 1.256 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/1.964, allocations: 16.84 kB / 1.256 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007178/1.965, allocations: 0.6134 MB / 1.257 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/1.965, allocations: 34.14 kB / 1.257 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/1.965, allocations: 0 / 1.257 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005854/1.966, allocations: 292.4 kB / 1.257 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/1.966, allocations: 56.53 kB / 1.257 GB, free: 308 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/1.966, allocations: 93.02 kB / 1.257 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/1.966, allocations: 38.08 kB / 1.257 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/1.966, allocations: 85.92 kB / 1.257 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/1.966, allocations: 24.56 kB / 1.257 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/1.966, allocations: 3.594 kB / 1.257 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/1.966, allocations: 317.8 kB / 1.258 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/1.966, allocations: 11.78 kB / 1.258 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/1.966, allocations: 53.72 kB / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/1.966, allocations: 23.84 kB / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.966, allocations: 0 / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001412/1.966, allocations: 92.28 kB / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.966, allocations: 6.094 kB / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.966, allocations: 6.75 kB / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.966, allocations: 5.172 kB / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/1.967, allocations: 33.09 kB / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/1.967, allocations: 1.812 kB / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/1.967, allocations: 4.266 kB / 1.258 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/1.967, allocations: 3.375 kB / 1.258 GB, free: 307.4 MB / 0.8542 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 () * 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 5.728e-05/1.967, allocations: 112.2 kB / 1.258 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/1.967, allocations: 2.125 kB / 1.258 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/1.967, allocations: 11.44 kB / 1.258 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.967, allocations: 9.172 kB / 1.258 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.967, allocations: 0 / 1.258 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.967, allocations: 0.5625 kB / 1.258 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/1.967, allocations: 176.1 kB / 1.258 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.967, allocations: 0.6562 kB / 1.258 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.251e-05/1.967, allocations: 15.97 kB / 1.258 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.967, allocations: 0 / 1.258 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/1.967, allocations: 1.5 kB / 1.258 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.967, allocations: 0.75 kB / 1.258 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.967, allocations: 5.141 kB / 1.258 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/1.967, allocations: 176.7 kB / 1.258 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/1.967, allocations: 84.66 kB / 1.259 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/1.967, allocations: 1.766 kB / 1.259 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/1.968, allocations: 2.656 kB / 1.259 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/1.968, allocations: 8.484 kB / 1.259 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/1.968, allocations: 7.016 kB / 1.259 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.03e-05/1.968, allocations: 78.22 kB / 1.259 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.11e-07/1.968, allocations: 0 / 1.259 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002599/1.968, allocations: 18.62 kB / 1.259 GB, free: 306.7 MB / 0.8542 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 () * 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.0004036/1.968, allocations: 0.7354 MB / 1.259 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001236/1.968, allocations: 43.39 kB / 1.259 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.968, allocations: 1.469 kB / 1.259 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/1.968, allocations: 14.44 kB / 1.259 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/1.969, allocations: 7.469 kB / 1.259 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/1.969, allocations: 314.5 kB / 1.26 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/1.969, allocations: 0.6867 MB / 1.26 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.835e-05/1.97, allocations: 9.156 kB / 1.26 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/1.97, allocations: 14.5 kB / 1.26 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of SimCode: time 3.41e-07/1.97, allocations: 0 / 1.26 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/1.983, allocations: 1.842 MB / 1.262 GB, free: 304.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/1.984, allocations: 156.3 kB / 1.262 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/3.642, allocations: 4 kB / 1.262 GB, free: 304.6 MB / 0.8542 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)