Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.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.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T",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.001247/0.001247, allocations: 108 kB / 15.6 MB, free: 132 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.001628/0.001628, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 279 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9679/0.9679, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 104 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1737, allocations: 86.97 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.4621/0.6358, allocations: 194.1 MB / 0.8698 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.6466, allocations: 10.04 MB / 0.8796 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007681/0.6473, allocations: 28.72 kB / 0.8797 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008585/0.6482, allocations: 396.4 kB / 0.88 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.6504, allocations: 1.029 MB / 0.881 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.653, allocations: 1.293 MB / 0.8823 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.6545, allocations: 1.685 MB / 0.8839 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009347/0.6554, allocations: 0.8324 MB / 0.8848 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.6579, allocations: 1.418 MB / 0.8861 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.6584, allocations: 0.536 MB / 0.8867 GB, free: 92 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.542e-05/0.6585, allocations: 60.97 kB / 0.8867 GB, free: 92 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.6606, allocations: 1.403 MB / 0.8881 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.661, allocations: 343.9 kB / 0.8884 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.6613, allocations: 435.8 kB / 0.8888 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.663, allocations: 1.496 MB / 0.8903 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.663, allocations: 0 / 0.8903 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.123e-06/0.663, allocations: 0 / 0.8903 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.663, allocations: 0 / 0.8903 GB, free: 13.9 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001352/0.6644, allocations: 1.148 MB / 0.8914 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.6644, allocations: 9.719 kB / 0.8914 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.6645, allocations: 130.2 kB / 0.8916 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.6662, allocations: 293.2 kB / 0.8918 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/0.6669, allocations: 0.5348 MB / 0.8924 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.667, allocations: 58.47 kB / 0.8924 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.6671, allocations: 76.11 kB / 0.8925 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.6682, allocations: 0.892 MB / 0.8934 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.6683, allocations: 6.406 kB / 0.8934 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.6683, allocations: 39.73 kB / 0.8934 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.6684, allocations: 39.23 kB / 0.8934 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/0.6693, allocations: 0.5768 MB / 0.894 GB, free: 11.33 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.6724, allocations: 3.503 MB / 0.8974 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.6728, allocations: 229.3 kB / 0.8976 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.6731, allocations: 144.1 kB / 0.8978 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008659/0.6739, allocations: 491.7 kB / 0.8982 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.674, allocations: 45.12 kB / 0.8983 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.674, allocations: 0 / 0.8983 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001139/0.6751, allocations: 445.6 kB / 0.8987 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.6752, allocations: 118.7 kB / 0.8988 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.6761, allocations: 0.8683 MB / 0.8997 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.6762, allocations: 25.7 kB / 0.8997 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.6765, allocations: 387.7 kB / 0.9001 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.6766, allocations: 70.94 kB / 0.9001 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.6767, allocations: 61.7 kB / 0.9002 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6768, allocations: 322 kB / 0.9005 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.677, allocations: 95.92 kB / 0.9006 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.6773, allocations: 212.1 kB / 0.9008 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.6778, allocations: 310.8 kB / 0.9011 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6778, allocations: 0 / 0.9011 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006645/0.6785, allocations: 406.3 kB / 0.9015 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6785, allocations: 11.94 kB / 0.9015 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6785, allocations: 0 / 0.9015 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6785, allocations: 8 kB / 0.9015 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.6788, allocations: 64.19 kB / 0.9016 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.6789, allocations: 10 kB / 0.9016 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.6793, allocations: 75.11 kB / 0.9016 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.6793, allocations: 16 kB / 0.9017 GB, free: 3.992 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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 0.0002359/0.6796, allocations: 234.3 kB / 0.9019 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6797, allocations: 79.06 kB / 0.902 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/0.6803, allocations: 318.7 kB / 0.9023 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.6803, allocations: 7.938 kB / 0.9023 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6803, allocations: 3.938 kB / 0.9023 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6803, allocations: 0 / 0.9023 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.6821, allocations: 1.365 MB / 0.9036 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.6821, allocations: 5.875 kB / 0.9036 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.6823, allocations: 47.92 kB / 0.9037 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6824, allocations: 4 kB / 0.9037 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.6824, allocations: 11.94 kB / 0.9037 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.6824, allocations: 8.516 kB / 0.9037 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6824, allocations: 11.94 kB / 0.9037 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.683, allocations: 0.5182 MB / 0.9042 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.6832, allocations: 184.1 kB / 0.9044 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.931e-05/0.6833, allocations: 12 kB / 0.9044 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.6836, allocations: 19.92 kB / 0.9044 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.6837, allocations: 23.92 kB / 0.9044 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.6837, allocations: 15.94 kB / 0.9044 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006943/0.6844, allocations: 0.6083 MB / 0.905 GB, free: 328 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6845, allocations: 0 / 0.905 GB, free: 328 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005379/0.685, allocations: 171.8 kB / 0.9052 GB, free: 156 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 simulation (21): * Single equations (assignments): 21 * 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.001182/0.6862, allocations: 1.148 MB / 0.9063 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.6867, allocations: 267.9 kB / 0.9066 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6868, allocations: 0 / 0.9066 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.687, allocations: 125.1 kB / 0.9067 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.6888, allocations: 433.5 kB / 0.9071 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008398/0.6972, allocations: 6.281 MB / 0.9132 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.6979, allocations: 0.9917 MB / 0.9142 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007377/0.6987, allocations: 162.2 kB / 0.9144 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.699, allocations: 271.3 kB / 0.9146 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.699, allocations: 0 / 0.9146 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04151/0.7405, allocations: 20.6 MB / 0.9347 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/8.055, allocations: 16 kB / 0.9348 GB, free: 1.836 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)