Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",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.00739/0.00739, allocations: 101 kB / 15.73 MB, free: 6.055 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.001952/0.001952, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 279.9 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00436/0.00436, allocations: 100.1 kB / 0.6809 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.42, allocations: 86.98 MB / 0.7659 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002184/0.4222, allocations: 1.249 MB / 0.7671 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.5805, allocations: 137.7 MB / 0.9016 GB, free: 8.383 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.5806, allocations: 0 / 0.9016 GB, free: 8.383 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.5807, allocations: 4 kB / 0.9016 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-05/0.5807, allocations: 3.938 kB / 0.9016 GB, free: 8.375 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.582, allocations: 470.1 kB / 0.9021 GB, free: 7.918 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.5821, allocations: 43.83 kB / 0.9021 GB, free: 7.875 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.5821, allocations: 4 kB / 0.9021 GB, free: 7.871 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.5822, allocations: 19.98 kB / 0.9021 GB, free: 7.852 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.5822, allocations: 23.91 kB / 0.9021 GB, free: 7.828 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.5823, allocations: 4 kB / 0.9021 GB, free: 7.824 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.5837, allocations: 0.8231 MB / 0.9029 GB, free: 7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.5837, allocations: 11.98 kB / 0.903 GB, free: 6.988 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.5838, allocations: 19.92 kB / 0.903 GB, free: 6.969 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.5844, allocations: 444.4 kB / 0.9034 GB, free: 6.539 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5844, allocations: 0 / 0.9034 GB, free: 6.539 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.597e-06/0.5844, allocations: 0 / 0.9034 GB, free: 6.539 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5844, allocations: 3.938 kB / 0.9034 GB, free: 6.535 MB / 0.67 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.0005749/0.585, allocations: 379.2 kB / 0.9038 GB, free: 6.117 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.585, allocations: 8.031 kB / 0.9038 GB, free: 6.109 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.5851, allocations: 34.75 kB / 0.9038 GB, free: 6.066 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.5853, allocations: 12.94 kB / 0.9038 GB, free: 6.055 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.5854, allocations: 172.3 kB / 0.904 GB, free: 5.848 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5854, allocations: 384 / 0.904 GB, free: 5.848 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.5855, allocations: 7.938 kB / 0.904 GB, free: 5.84 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.5856, allocations: 57.66 kB / 0.904 GB, free: 5.777 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.5856, allocations: 0 / 0.904 GB, free: 5.777 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5857, allocations: 0 / 0.904 GB, free: 5.777 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.5857, allocations: 4 kB / 0.9041 GB, free: 5.773 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.5857, allocations: 23.86 kB / 0.9041 GB, free: 5.75 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.5859, allocations: 177.6 kB / 0.9042 GB, free: 5.527 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.5861, allocations: 58.48 kB / 0.9043 GB, free: 5.461 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.5861, allocations: 12.86 kB / 0.9043 GB, free: 5.445 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.5972, allocations: 3.201 MB / 0.9074 GB, free: 2.148 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.5973, allocations: 34.55 kB / 0.9075 GB, free: 2.105 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.5973, allocations: 0 / 0.9075 GB, free: 2.105 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04246/0.6398, allocations: 15 MB / 0.9221 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.6398, allocations: 51.41 kB / 0.9222 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.321e-05/0.6399, allocations: 93.86 kB / 0.9223 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.64, allocations: 33.7 kB / 0.9223 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.64, allocations: 80.14 kB / 0.9224 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.6401, allocations: 47.58 kB / 0.9224 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.6401, allocations: 33.7 kB / 0.9224 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6403, allocations: 314.8 kB / 0.9227 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.6403, allocations: 23.98 kB / 0.9228 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.634e-05/0.6404, allocations: 23.98 kB / 0.9228 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.6405, allocations: 64.97 kB / 0.9229 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6405, allocations: 3.938 kB / 0.9229 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002279/0.6408, allocations: 108.1 kB / 0.923 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6408, allocations: 8 kB / 0.923 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6408, allocations: 0 / 0.923 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6408, allocations: 0 / 0.923 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.6409, allocations: 23.98 kB / 0.923 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.641, allocations: 0 / 0.923 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.641, allocations: 0 / 0.923 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.641, allocations: 8 kB / 0.923 GB, free: 2 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 9.36e-05/0.6411, allocations: 125.7 kB / 0.9231 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.6412, allocations: 11.94 kB / 0.9231 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.6414, allocations: 125.5 kB / 0.9232 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6415, allocations: 4 kB / 0.9233 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6415, allocations: 0 / 0.9233 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6415, allocations: 0 / 0.9233 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.6417, allocations: 185.6 kB / 0.9234 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6417, allocations: 0 / 0.9234 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.6418, allocations: 31.92 kB / 0.9235 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6418, allocations: 0 / 0.9235 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.6418, allocations: 4 kB / 0.9235 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6418, allocations: 0 / 0.9235 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6418, allocations: 0 / 0.9235 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.6421, allocations: 156.9 kB / 0.9236 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.6422, allocations: 93.14 kB / 0.9237 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.6422, allocations: 0 / 0.9237 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.6424, allocations: 11.98 kB / 0.9237 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.6424, allocations: 8 kB / 0.9237 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.6424, allocations: 7.984 kB / 0.9237 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.6425, allocations: 75.28 kB / 0.9238 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6425, allocations: 0 / 0.9238 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001742/0.6442, allocations: 0.5739 MB / 0.9244 GB, free: 0.4961 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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.003288/0.6475, allocations: 0.9398 MB / 0.9253 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.6477, allocations: 67.91 kB / 0.9253 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6477, allocations: 0 / 0.9253 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.6478, allocations: 39.92 kB / 0.9254 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.648, allocations: 14.5 kB / 0.9254 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.6503, allocations: 1.559 MB / 0.9269 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.6506, allocations: 0.6885 MB / 0.9276 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 8.242e-05/0.6507, allocations: 25.03 kB / 0.9276 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.6507, allocations: 23.42 kB / 0.9276 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of SimCode: time 2.454e-06/0.6507, allocations: 0 / 0.9276 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05642/0.7072, allocations: 25.48 MB / 0.9525 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.42, allocations: 2.391 kB / 0.9525 GB, free: 3.617 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)