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.005482/0.005483, allocations: 104.9 kB / 15.74 MB, free: 6.012 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.001289/0.001289, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002282/0.002282, allocations: 291.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9173/0.9173, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 99.83 kB / 0.6809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3817, allocations: 86.99 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002207/0.384, allocations: 1.249 MB / 0.7671 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1302/0.5142, allocations: 137.7 MB / 0.9016 GB, free: 8.301 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.5143, allocations: 0 / 0.9016 GB, free: 8.301 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.5143, allocations: 3.984 kB / 0.9016 GB, free: 8.297 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.217e-05/0.5144, allocations: 11.92 kB / 0.9016 GB, free: 8.285 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.5156, allocations: 469.1 kB / 0.9021 GB, free: 7.828 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.5157, allocations: 43.86 kB / 0.9021 GB, free: 7.785 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.5158, allocations: 7.984 kB / 0.9021 GB, free: 7.777 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.5158, allocations: 19.92 kB / 0.9021 GB, free: 7.758 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.5159, allocations: 19.92 kB / 0.9021 GB, free: 7.738 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.5159, allocations: 4 kB / 0.9021 GB, free: 7.734 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.5173, allocations: 0.8271 MB / 0.903 GB, free: 6.906 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.5174, allocations: 11.97 kB / 0.903 GB, free: 6.895 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.5174, allocations: 15.94 kB / 0.903 GB, free: 6.879 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.518, allocations: 447 kB / 0.9034 GB, free: 6.441 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.518, allocations: 4 kB / 0.9034 GB, free: 6.438 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.112e-06/0.518, allocations: 0 / 0.9034 GB, free: 6.438 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.518, allocations: 0 / 0.9034 GB, free: 6.438 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.0004701/0.5185, allocations: 371.4 kB / 0.9038 GB, free: 6.027 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.5186, allocations: 12.03 kB / 0.9038 GB, free: 6.016 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.5186, allocations: 34.73 kB / 0.9038 GB, free: 5.973 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.5188, allocations: 12.92 kB / 0.9038 GB, free: 5.961 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.492e-05/0.5189, allocations: 164.4 kB / 0.904 GB, free: 5.762 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5189, allocations: 8.375 kB / 0.904 GB, free: 5.754 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.5189, allocations: 11.92 kB / 0.904 GB, free: 5.742 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.5191, allocations: 57.61 kB / 0.9041 GB, free: 5.68 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5191, allocations: 0 / 0.9041 GB, free: 5.68 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.5191, allocations: 4 kB / 0.9041 GB, free: 5.676 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5191, allocations: 3.984 kB / 0.9041 GB, free: 5.672 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.5192, allocations: 19.98 kB / 0.9041 GB, free: 5.652 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.5193, allocations: 165.6 kB / 0.9042 GB, free: 5.441 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/0.5195, allocations: 54.44 kB / 0.9043 GB, free: 5.379 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.5195, allocations: 20.84 kB / 0.9043 GB, free: 5.355 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00986/0.5294, allocations: 3.194 MB / 0.9074 GB, free: 2.066 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.5294, allocations: 46.5 kB / 0.9075 GB, free: 2.012 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.5294, allocations: 0 / 0.9075 GB, free: 2.012 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.0367/0.5661, allocations: 15 MB / 0.9221 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.5662, allocations: 59.41 kB / 0.9222 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.5663, allocations: 89.86 kB / 0.9223 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.5663, allocations: 29.7 kB / 0.9223 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.5663, allocations: 84.14 kB / 0.9224 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.5664, allocations: 35.45 kB / 0.9224 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.5664, allocations: 33.7 kB / 0.9224 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.5665, allocations: 318.8 kB / 0.9227 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.5666, allocations: 32.05 kB / 0.9228 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.5666, allocations: 26.61 kB / 0.9228 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.5668, allocations: 60.8 kB / 0.9229 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5668, allocations: 0 / 0.9229 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002073/0.567, allocations: 101.7 kB / 0.923 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.567, allocations: 4 kB / 0.923 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.567, allocations: 0 / 0.923 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5671, allocations: 4 kB / 0.923 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5672, allocations: 27.98 kB / 0.923 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5672, allocations: 0 / 0.923 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.5672, allocations: 4 kB / 0.923 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5672, allocations: 12 kB / 0.923 GB, free: 1.898 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 7.811e-05/0.5673, allocations: 121.7 kB / 0.9231 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.5674, allocations: 3.906 kB / 0.9231 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.5676, allocations: 125.5 kB / 0.9232 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5677, allocations: 4 kB / 0.9232 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.5677, allocations: 4 kB / 0.9232 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5677, allocations: 3.984 kB / 0.9233 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.5678, allocations: 177.6 kB / 0.9234 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5678, allocations: 0 / 0.9234 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.5679, allocations: 27.94 kB / 0.9234 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.568, allocations: 3.984 kB / 0.9235 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.568, allocations: 0 / 0.9235 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.568, allocations: 0 / 0.9235 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.568, allocations: 4 kB / 0.9235 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.5683, allocations: 163.3 kB / 0.9236 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.5683, allocations: 85.09 kB / 0.9237 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.5684, allocations: 8 kB / 0.9237 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.5685, allocations: 8 kB / 0.9237 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.5685, allocations: 15.92 kB / 0.9237 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.5686, allocations: 4 kB / 0.9237 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.5686, allocations: 83.27 kB / 0.9238 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5686, allocations: 0 / 0.9238 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001607/0.5702, allocations: 0.5663 MB / 0.9244 GB, free: 412 kB / 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.003695/0.5739, allocations: 0.9285 MB / 0.9253 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.5741, allocations: 67.91 kB / 0.9253 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5741, allocations: 4 kB / 0.9253 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/0.5742, allocations: 35.94 kB / 0.9254 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.5744, allocations: 11.98 kB / 0.9254 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.5768, allocations: 1.558 MB / 0.9269 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.577, allocations: 0.6885 MB / 0.9276 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 7.999e-05/0.5771, allocations: 24.48 kB / 0.9276 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.5772, allocations: 19.44 kB / 0.9276 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of SimCode: time 4.1e-07/0.5772, allocations: 0 / 0.9276 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05381/0.631, allocations: 25.48 MB / 0.9525 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.531, allocations: 6.578 kB / 0.9525 GB, free: 3.539 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)