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.004873/0.004873, allocations: 97.38 kB / 15.73 MB, free: 6.039 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.001891/0.001891, allocations: 201.3 kB / 16.68 MB, free: 5.961 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00263/0.00263, allocations: 274.9 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 178.6 MB / 0.5074 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 99.84 kB / 0.6943 GB, free: 3.633 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4579, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002551/0.4605, allocations: 1.273 MB / 0.7825 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.6234, allocations: 137.7 MB / 0.917 GB, free: 3.863 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.6235, allocations: 0 / 0.917 GB, free: 3.863 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.6236, allocations: 3.938 kB / 0.917 GB, free: 3.859 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.6236, allocations: 7.984 kB / 0.917 GB, free: 3.852 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.625, allocations: 458.3 kB / 0.9174 GB, free: 3.402 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.6251, allocations: 43.84 kB / 0.9175 GB, free: 3.359 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.6252, allocations: 8 kB / 0.9175 GB, free: 3.352 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.6252, allocations: 27.91 kB / 0.9175 GB, free: 3.324 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.6253, allocations: 19.92 kB / 0.9175 GB, free: 3.305 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.6253, allocations: 0 / 0.9175 GB, free: 3.305 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.627, allocations: 0.8232 MB / 0.9183 GB, free: 2.48 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.6271, allocations: 7.984 kB / 0.9184 GB, free: 2.473 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.6271, allocations: 19.92 kB / 0.9184 GB, free: 2.453 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007007/0.6278, allocations: 448.1 kB / 0.9188 GB, free: 2.02 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6278, allocations: 0 / 0.9188 GB, free: 2.02 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6279, allocations: 0 / 0.9188 GB, free: 2.02 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6279, allocations: 4 kB / 0.9188 GB, free: 2.016 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.0005527/0.6284, allocations: 371.2 kB / 0.9192 GB, free: 1.605 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.6285, allocations: 12.03 kB / 0.9192 GB, free: 1.594 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.6285, allocations: 38.75 kB / 0.9192 GB, free: 1.547 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.6287, allocations: 16.91 kB / 0.9192 GB, free: 1.531 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.6288, allocations: 160.4 kB / 0.9194 GB, free: 1.336 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.6289, allocations: 384 / 0.9194 GB, free: 1.336 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.6289, allocations: 11.94 kB / 0.9194 GB, free: 1.324 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.629, allocations: 61.61 kB / 0.9194 GB, free: 1.258 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6291, allocations: 0 / 0.9194 GB, free: 1.258 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6291, allocations: 0 / 0.9194 GB, free: 1.258 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6291, allocations: 0 / 0.9194 GB, free: 1.258 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.959e-05/0.6292, allocations: 23.98 kB / 0.9195 GB, free: 1.234 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.6294, allocations: 169.6 kB / 0.9196 GB, free: 1.02 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.6295, allocations: 54.48 kB / 0.9197 GB, free: 0.957 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.6295, allocations: 12.86 kB / 0.9197 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.6415, allocations: 3.205 MB / 0.9228 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.6416, allocations: 42.5 kB / 0.9229 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.6416, allocations: 0 / 0.9229 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.04544/0.687, allocations: 15 MB / 0.9375 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.6871, allocations: 51.41 kB / 0.9376 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.6872, allocations: 101.8 kB / 0.9377 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.6872, allocations: 29.64 kB / 0.9377 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.6872, allocations: 84.14 kB / 0.9378 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.6873, allocations: 43.58 kB / 0.9378 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.6873, allocations: 29.72 kB / 0.9378 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6875, allocations: 322.8 kB / 0.9381 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.6875, allocations: 24 kB / 0.9382 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.6876, allocations: 24.11 kB / 0.9382 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.6878, allocations: 68.78 kB / 0.9383 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.6878, allocations: 4 kB / 0.9383 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002287/0.688, allocations: 100.7 kB / 0.9384 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.688, allocations: 4 kB / 0.9384 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.688, allocations: 0 / 0.9384 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6881, allocations: 0 / 0.9384 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.6882, allocations: 27.98 kB / 0.9384 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6882, allocations: 7.938 kB / 0.9384 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.6882, allocations: 0 / 0.9384 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.6882, allocations: 8 kB / 0.9384 GB, free: 13.48 MB / 0.7012 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.375e-05/0.6883, allocations: 121.7 kB / 0.9385 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.6884, allocations: 7.953 kB / 0.9385 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.6887, allocations: 125.5 kB / 0.9386 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6887, allocations: 0 / 0.9386 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6887, allocations: 4 kB / 0.9386 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6887, allocations: 0 / 0.9386 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.6889, allocations: 181.6 kB / 0.9388 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6889, allocations: 0 / 0.9388 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.689, allocations: 27.92 kB / 0.9388 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.689, allocations: 4 kB / 0.9388 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.6891, allocations: 4 kB / 0.9389 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6891, allocations: 0 / 0.9389 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6891, allocations: 0 / 0.9389 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.6894, allocations: 160.9 kB / 0.939 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.6895, allocations: 85.14 kB / 0.9391 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.6895, allocations: 8 kB / 0.9391 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.6897, allocations: 11.98 kB / 0.9391 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.6897, allocations: 8.031 kB / 0.9391 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.6897, allocations: 15.97 kB / 0.9391 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.6898, allocations: 79.28 kB / 0.9392 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6898, allocations: 0 / 0.9392 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001613/0.6914, allocations: 0.566 MB / 0.9398 GB, free: 11.98 MB / 0.7012 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.003893/0.6953, allocations: 0.9361 MB / 0.9407 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.6955, allocations: 67.91 kB / 0.9407 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6955, allocations: 0 / 0.9407 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.6956, allocations: 39.92 kB / 0.9408 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.6958, allocations: 8 kB / 0.9408 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.6982, allocations: 1.55 MB / 0.9423 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.6986, allocations: 0.6885 MB / 0.943 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 9.458e-05/0.6987, allocations: 29.02 kB / 0.943 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.6988, allocations: 27.42 kB / 0.943 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of SimCode: time 3.2e-07/0.6988, allocations: 0 / 0.943 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05605/0.7548, allocations: 25.47 MB / 0.9679 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/9.108, allocations: 5.766 kB / 0.9679 GB, free: 15.11 MB / 0.7325 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)