Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000793/0.0007931, allocations: 165.6 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006822/0.0006822, allocations: 99.08 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002543, allocations: 8.781 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.4373/0.5687, allocations: 173.6 MB / 1.066 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007077/0.5758, allocations: 8.824 MB / 1.074 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.5762, allocations: 18.25 kB / 1.074 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.5767, allocations: 237.6 kB / 1.075 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005076/0.5772, allocations: 295.1 kB / 1.075 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006985/0.578, allocations: 336.6 kB / 1.075 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.5793, allocations: 1.616 MB / 1.077 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.5799, allocations: 490.2 kB / 1.077 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.5832, allocations: 1.916 MB / 1.079 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.5836, allocations: 351.7 kB / 1.079 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.5837, allocations: 21.5 kB / 1.079 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.5839, allocations: 57.27 kB / 1.08 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.5841, allocations: 229.3 kB / 1.08 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.5843, allocations: 255.8 kB / 1.08 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.5848, allocations: 0.5937 MB / 1.081 GB, free: 1.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5848, allocations: 0.9375 kB / 1.081 GB, free: 1.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5848, allocations: 0 / 1.081 GB, free: 1.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5848, allocations: 2.906 kB / 1.081 GB, free: 1.48 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0007681/0.5856, allocations: 0.7179 MB / 1.081 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5856, allocations: 9 kB / 1.081 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.455e-05/0.5857, allocations: 94.03 kB / 1.081 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.5858, allocations: 69.31 kB / 1.081 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.5862, allocations: 418.4 kB / 1.082 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.5863, allocations: 41.72 kB / 1.082 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.5863, allocations: 54.31 kB / 1.082 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.5871, allocations: 0.709 MB / 1.083 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5871, allocations: 12.16 kB / 1.083 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.5871, allocations: 22.03 kB / 1.083 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.5872, allocations: 32.56 kB / 1.083 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.5877, allocations: 384.3 kB / 1.083 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.5895, allocations: 3.229 MB / 1.086 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.5897, allocations: 235.4 kB / 1.086 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.5899, allocations: 130.6 kB / 1.087 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.5899, allocations: 9.438 kB / 1.087 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.5899, allocations: 49.03 kB / 1.087 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.5899, allocations: 1.156 kB / 1.087 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005715/0.5905, allocations: 260.1 kB / 1.087 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.659e-05/0.5906, allocations: 293.1 kB / 1.087 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.5912, allocations: 0.682 MB / 1.088 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5913, allocations: 31.2 kB / 1.088 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.5914, allocations: 269.4 kB / 1.088 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.5914, allocations: 36 kB / 1.088 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.5915, allocations: 19.97 kB / 1.088 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5916, allocations: 364 kB / 1.089 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-05/0.5917, allocations: 41.42 kB / 1.089 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.5918, allocations: 103.9 kB / 1.089 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.592, allocations: 142.1 kB / 1.089 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5921, allocations: 0 / 1.089 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002847/0.5923, allocations: 199.7 kB / 1.089 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5924, allocations: 8.438 kB / 1.089 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5924, allocations: 192 / 1.089 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5924, allocations: 4.25 kB / 1.089 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.5926, allocations: 60.06 kB / 1.089 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.5926, allocations: 0 / 1.089 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.5928, allocations: 69.95 kB / 1.089 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.5928, allocations: 9.625 kB / 1.089 GB, free: 12.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0001526/0.593, allocations: 207.1 kB / 1.089 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.5932, allocations: 62.86 kB / 1.089 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.5932, allocations: 60.03 kB / 1.089 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5932, allocations: 3.312 kB / 1.089 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5933, allocations: 4.125 kB / 1.089 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5933, allocations: 2.375 kB / 1.089 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.5943, allocations: 1.296 MB / 1.091 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5943, allocations: 6.469 kB / 1.091 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.5945, allocations: 52.23 kB / 1.091 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5945, allocations: 4.344 kB / 1.091 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.5945, allocations: 7.812 kB / 1.091 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5945, allocations: 2.562 kB / 1.091 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5945, allocations: 13.31 kB / 1.091 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.5949, allocations: 339.5 kB / 1.091 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.595, allocations: 151.5 kB / 1.091 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.5951, allocations: 12.28 kB / 1.091 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.5952, allocations: 14.67 kB / 1.091 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.5953, allocations: 19.22 kB / 1.091 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.5953, allocations: 7.297 kB / 1.091 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004082/0.5957, allocations: 0.4917 MB / 1.092 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5957, allocations: 4 kB / 1.092 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003074/0.596, allocations: 82.12 kB / 1.092 GB, free: 10.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0006857/0.5967, allocations: 0.9327 MB / 1.093 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.597, allocations: 110.7 kB / 1.093 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.597, allocations: 0 / 1.093 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.5971, allocations: 68.12 kB / 1.093 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.5984, allocations: 275.1 kB / 1.093 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.6026, allocations: 4.701 MB / 1.098 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.603, allocations: 0.9105 MB / 1.099 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.6032, allocations: 101.1 kB / 1.099 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.6033, allocations: 168.3 kB / 1.099 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.6033, allocations: 0 / 1.099 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3337/0.937, allocations: 12.83 MB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.9372, allocations: 257.1 kB / 1.112 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/3.104, allocations: 0 / 1.112 GB, free: 6.031 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)