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.001039/0.001039, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001065/0.001065, allocations: 193.2 kB / 16.26 MB, free: 6.625 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 286.6 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9107/0.9107, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 90.47 kB / 0.5948 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1444, allocations: 86.97 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.45/0.5945, allocations: 191.6 MB / 0.8668 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.6054, allocations: 9.956 MB / 0.8765 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.6066, allocations: 26.78 kB / 0.8766 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008985/0.6076, allocations: 335.3 kB / 0.8769 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.6099, allocations: 0.9569 MB / 0.8778 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.6124, allocations: 1.204 MB / 0.879 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.614, allocations: 1.703 MB / 0.8807 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00085/0.6149, allocations: 0.7868 MB / 0.8814 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.6174, allocations: 1.405 MB / 0.8828 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.6179, allocations: 0.5551 MB / 0.8833 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.618, allocations: 67.41 kB / 0.8834 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.6202, allocations: 1.464 MB / 0.8848 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.6205, allocations: 342.8 kB / 0.8852 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.6208, allocations: 444.2 kB / 0.8856 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.6226, allocations: 1.593 MB / 0.8871 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6226, allocations: 0 / 0.8871 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6226, allocations: 0 / 0.8871 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.6227, allocations: 0 / 0.8871 GB, free: 0.5703 MB / 0.5919 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.001423/0.6241, allocations: 1.152 MB / 0.8883 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.6241, allocations: 9.531 kB / 0.8883 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.6243, allocations: 131 kB / 0.8884 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.626, allocations: 288.6 kB / 0.8887 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.6267, allocations: 0.5342 MB / 0.8892 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.6267, allocations: 58.09 kB / 0.8893 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.6268, allocations: 71.92 kB / 0.8893 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.6281, allocations: 0.8965 MB / 0.8902 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.6281, allocations: 10.62 kB / 0.8902 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.6282, allocations: 26.69 kB / 0.8902 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.6282, allocations: 44.17 kB / 0.8903 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.6291, allocations: 0.5718 MB / 0.8908 GB, free: 14.01 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.003063/0.6322, allocations: 3.5 MB / 0.8943 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.6325, allocations: 227.2 kB / 0.8945 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.6328, allocations: 144.3 kB / 0.8946 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007684/0.6335, allocations: 484.2 kB / 0.8951 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.6336, allocations: 41.02 kB / 0.8951 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 3.196e-06/0.6336, allocations: 3.984 kB / 0.8951 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001126/0.6347, allocations: 449.5 kB / 0.8955 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.6348, allocations: 116.7 kB / 0.8957 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008862/0.6357, allocations: 0.8709 MB / 0.8965 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.6357, allocations: 29.7 kB / 0.8965 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.636, allocations: 387.7 kB / 0.8969 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.636, allocations: 74.94 kB / 0.897 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.881e-05/0.6361, allocations: 57.7 kB / 0.897 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.6362, allocations: 314 kB / 0.8973 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.6365, allocations: 103.9 kB / 0.8974 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.6368, allocations: 213 kB / 0.8976 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.6372, allocations: 312.8 kB / 0.8979 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6372, allocations: 0 / 0.8979 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006476/0.6379, allocations: 404.3 kB / 0.8983 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6379, allocations: 8 kB / 0.8983 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6379, allocations: 0 / 0.8983 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.638, allocations: 4 kB / 0.8983 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.6383, allocations: 67.84 kB / 0.8984 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6383, allocations: 4 kB / 0.8984 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.6388, allocations: 91.31 kB / 0.8985 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.6388, allocations: 16 kB / 0.8985 GB, free: 7.105 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.0002419/0.6391, allocations: 234.3 kB / 0.8987 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.6392, allocations: 75.06 kB / 0.8988 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.6398, allocations: 327.2 kB / 0.8991 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6398, allocations: 7.938 kB / 0.8991 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6398, allocations: 0 / 0.8991 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6398, allocations: 0 / 0.8991 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.6416, allocations: 1.362 MB / 0.9004 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.6416, allocations: 4 kB / 0.9004 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.6418, allocations: 43.92 kB / 0.9005 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.6418, allocations: 4 kB / 0.9005 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.6419, allocations: 15.94 kB / 0.9005 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.6419, allocations: 11.92 kB / 0.9005 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6419, allocations: 8.375 kB / 0.9005 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.6425, allocations: 0.5197 MB / 0.901 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.6427, allocations: 188.1 kB / 0.9012 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.6428, allocations: 11.94 kB / 0.9012 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.6432, allocations: 31.91 kB / 0.9013 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.6433, allocations: 23.92 kB / 0.9013 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.6433, allocations: 21.31 kB / 0.9013 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006642/0.644, allocations: 0.6083 MB / 0.9019 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.644, allocations: 0 / 0.9019 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005401/0.6445, allocations: 167.7 kB / 0.9021 GB, free: 3.254 MB / 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.001097/0.6456, allocations: 1.142 MB / 0.9032 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.6461, allocations: 267.5 kB / 0.9034 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6462, allocations: 4 kB / 0.9034 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.6464, allocations: 129.5 kB / 0.9036 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.6482, allocations: 437.1 kB / 0.904 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/0.6557, allocations: 6.474 MB / 0.9103 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.6562, allocations: 0.9917 MB / 0.9113 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005885/0.6568, allocations: 158.2 kB / 0.9114 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.6572, allocations: 275.3 kB / 0.9117 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of SimCode: time 8.01e-07/0.6572, allocations: 0 / 0.9117 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.691, allocations: 20.39 MB / 0.9316 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/0.6913, allocations: 252 kB / 0.9318 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.823, allocations: 0 / 0.9318 GB, free: 4.758 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)