Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001395/0.001395, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 207.2 kB / 16.79 MB, free: 6.84 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.353/1.353, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.83 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1337, allocations: 76.18 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.00213/0.1359, allocations: 1.316 MB / 0.5571 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.355/0.4909, allocations: 135.7 MB / 0.6896 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.4909, allocations: 0 / 0.6896 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.491, allocations: 3.984 kB / 0.6896 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.4911, allocations: 7.922 kB / 0.6896 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008757/0.4919, allocations: 361.4 kB / 0.69 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.468e-05/0.492, allocations: 43.89 kB / 0.69 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.492, allocations: 4 kB / 0.69 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.4921, allocations: 19.92 kB / 0.69 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.4921, allocations: 19.91 kB / 0.69 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.4922, allocations: 4 kB / 0.6901 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.4934, allocations: 0.8236 MB / 0.6909 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.4934, allocations: 4 kB / 0.6909 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.4934, allocations: 19.91 kB / 0.6909 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.4939, allocations: 454.9 kB / 0.6913 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4939, allocations: 0 / 0.6913 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.21e-07/0.4939, allocations: 0 / 0.6913 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.4939, allocations: 6.344 kB / 0.6913 GB, free: 12.09 MB / 0.5137 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.0003995/0.4943, allocations: 368.3 kB / 0.6917 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.4944, allocations: 8.031 kB / 0.6917 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.4944, allocations: 30.75 kB / 0.6917 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4946, allocations: 16.83 kB / 0.6917 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.105e-05/0.4947, allocations: 164.4 kB / 0.6919 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4947, allocations: 4.562 kB / 0.6919 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.4947, allocations: 7.938 kB / 0.6919 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.4948, allocations: 61.61 kB / 0.6919 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.4948, allocations: 0 / 0.6919 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4949, allocations: 0 / 0.6919 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4949, allocations: 4 kB / 0.692 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.4949, allocations: 15.98 kB / 0.692 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.4951, allocations: 166.5 kB / 0.6921 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.31e-05/0.4952, allocations: 59.33 kB / 0.6922 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.4952, allocations: 16.8 kB / 0.6922 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009413/0.5046, allocations: 3.166 MB / 0.6953 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5047, allocations: 42.44 kB / 0.6953 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.5047, allocations: 0 / 0.6953 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.03878/0.5434, allocations: 14.86 MB / 0.7098 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.5435, allocations: 55.41 kB / 0.7099 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.5436, allocations: 97.84 kB / 0.71 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.5436, allocations: 25.7 kB / 0.71 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.5436, allocations: 84.14 kB / 0.7101 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.5437, allocations: 43.3 kB / 0.7101 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.5437, allocations: 29.72 kB / 0.7102 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.5438, allocations: 326.9 kB / 0.7105 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.5439, allocations: 27.92 kB / 0.7105 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.544, allocations: 24 kB / 0.7105 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.5441, allocations: 60.78 kB / 0.7106 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5441, allocations: 0 / 0.7106 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000208/0.5443, allocations: 102.8 kB / 0.7107 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5443, allocations: 4 kB / 0.7107 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5443, allocations: 0 / 0.7107 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5443, allocations: 3.984 kB / 0.7107 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.5445, allocations: 20 kB / 0.7107 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5445, allocations: 4 kB / 0.7107 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.5445, allocations: 8 kB / 0.7107 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.5445, allocations: 3.984 kB / 0.7107 GB, free: 7.758 MB / 0.5294 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.316e-05/0.5446, allocations: 121.7 kB / 0.7108 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.5447, allocations: 7.906 kB / 0.7108 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.5449, allocations: 130.2 kB / 0.711 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5449, allocations: 0 / 0.711 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5449, allocations: 3.938 kB / 0.711 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5449, allocations: 0 / 0.711 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.5451, allocations: 181.6 kB / 0.7112 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5451, allocations: 0 / 0.7112 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.5452, allocations: 27.92 kB / 0.7112 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5452, allocations: 0 / 0.7112 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5452, allocations: 8 kB / 0.7112 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5453, allocations: 4 kB / 0.7112 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5453, allocations: 0 / 0.7112 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.5455, allocations: 156.2 kB / 0.7113 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.5456, allocations: 85.14 kB / 0.7114 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.5456, allocations: 0 / 0.7114 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.5458, allocations: 19.92 kB / 0.7114 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.5458, allocations: 15.92 kB / 0.7115 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5458, allocations: 8 kB / 0.7115 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.849e-05/0.5459, allocations: 79.28 kB / 0.7115 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5459, allocations: 0 / 0.7115 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001411/0.5473, allocations: 0.5624 MB / 0.7121 GB, free: 6.27 MB / 0.5294 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.003329/0.5506, allocations: 0.9366 MB / 0.713 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.5508, allocations: 75.47 kB / 0.7131 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5508, allocations: 0 / 0.7131 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.5509, allocations: 39.92 kB / 0.7131 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.5511, allocations: 8 kB / 0.7131 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.5531, allocations: 1.544 MB / 0.7146 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.5533, allocations: 0.6809 MB / 0.7153 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.48e-05/0.5534, allocations: 28.53 kB / 0.7153 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.5534, allocations: 19.44 kB / 0.7153 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.5535, allocations: 0 / 0.7153 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/0.7075, allocations: 25.25 MB / 0.74 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.7077, allocations: 194.4 kB / 0.7402 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.315, allocations: 0 / 0.7402 GB, free: 9.348 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)