Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",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.001076/0.001076, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001044/0.001044, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.998/1.998, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005091, allocations: 13.09 kB / 0.6736 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2686, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7761/1.045, allocations: 146.9 MB / 0.9307 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009595/1.054, allocations: 6.991 MB / 0.9375 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/1.056, allocations: 17.91 kB / 0.9375 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/1.057, allocations: 351.6 kB / 0.9379 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/1.059, allocations: 363.7 kB / 0.9382 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/1.061, allocations: 0.5287 MB / 0.9387 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001537/1.062, allocations: 0.6763 MB / 0.9394 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009825/1.063, allocations: 456.5 kB / 0.9398 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/1.068, allocations: 1.222 MB / 0.941 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004803/1.068, allocations: 217.5 kB / 0.9412 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/1.068, allocations: 21.66 kB / 0.9412 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/1.069, allocations: 49.67 kB / 0.9413 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/1.069, allocations: 223.7 kB / 0.9415 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/1.069, allocations: 126.2 kB / 0.9416 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007428/1.07, allocations: 454.8 kB / 0.9421 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/1.07, allocations: 0 / 0.9421 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/1.07, allocations: 1.344 kB / 0.9421 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.07, allocations: 0 / 0.9421 GB, free: 21.29 MB / 0.7325 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.001184/1.071, allocations: 0.7184 MB / 0.9428 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.071, allocations: 8.938 kB / 0.9428 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/1.072, allocations: 102.5 kB / 0.9429 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/1.072, allocations: 72.55 kB / 0.9429 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/1.072, allocations: 396.9 kB / 0.9433 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/1.073, allocations: 44.47 kB / 0.9434 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/1.073, allocations: 54.78 kB / 0.9434 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/1.074, allocations: 0.6992 MB / 0.9441 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/1.074, allocations: 8.5 kB / 0.9441 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/1.074, allocations: 24.48 kB / 0.9441 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.67e-05/1.074, allocations: 37.84 kB / 0.9442 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/1.075, allocations: 386.1 kB / 0.9445 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/1.078, allocations: 3.222 MB / 0.9477 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/1.078, allocations: 236 kB / 0.9479 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/1.078, allocations: 3 kB / 0.9479 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.078, allocations: 46.88 kB / 0.9479 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/1.078, allocations: 0 / 0.9479 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0008074/1.079, allocations: 262.7 kB / 0.9482 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/1.079, allocations: 290.3 kB / 0.9485 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/1.08, allocations: 0.6815 MB / 0.9491 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/1.08, allocations: 30.23 kB / 0.9492 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/1.081, allocations: 269.8 kB / 0.9494 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/1.081, allocations: 33.08 kB / 0.9495 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/1.081, allocations: 4.406 kB / 0.9495 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.081, allocations: 370.8 kB / 0.9498 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/1.081, allocations: 42.69 kB / 0.9498 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/1.081, allocations: 100.1 kB / 0.9499 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/1.081, allocations: 55.66 kB / 0.95 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.081, allocations: 0 / 0.95 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004123/1.082, allocations: 193 kB / 0.9502 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.082, allocations: 13.52 kB / 0.9502 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.082, allocations: 1.156 kB / 0.9502 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.082, allocations: 2.375 kB / 0.9502 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/1.082, allocations: 52 kB / 0.9502 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.082, allocations: 1.906 kB / 0.9502 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/1.083, allocations: 70.09 kB / 0.9503 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/1.083, allocations: 10.81 kB / 0.9503 GB, free: 16.32 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002665/1.083, allocations: 203.2 kB / 0.9505 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/1.083, allocations: 57.62 kB / 0.9506 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/1.083, allocations: 59.81 kB / 0.9506 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.083, allocations: 6.906 kB / 0.9506 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/1.083, allocations: 6.406 kB / 0.9506 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/1.083, allocations: 2.125 kB / 0.9506 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/1.085, allocations: 1.302 MB / 0.9519 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.085, allocations: 2.188 kB / 0.9519 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/1.085, allocations: 56.56 kB / 0.952 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/1.085, allocations: 4.156 kB / 0.952 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.085, allocations: 3.156 kB / 0.952 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/1.085, allocations: 11.17 kB / 0.952 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.085, allocations: 2.188 kB / 0.952 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/1.086, allocations: 459.1 kB / 0.9524 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/1.086, allocations: 148.1 kB / 0.9526 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/1.086, allocations: 5.75 kB / 0.9526 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/1.086, allocations: 23 kB / 0.9526 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/1.086, allocations: 15.62 kB / 0.9526 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/1.086, allocations: 12.25 kB / 0.9526 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006721/1.087, allocations: 496.2 kB / 0.9531 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.087, allocations: 0.9062 kB / 0.9531 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004959/1.087, allocations: 83.75 kB / 0.9532 GB, free: 14.55 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001405/1.089, allocations: 1.63 MB / 0.9548 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003949/1.089, allocations: 114.7 kB / 0.9549 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.089, allocations: 0 / 0.9549 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/1.089, allocations: 69.38 kB / 0.9549 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.091, allocations: 272.8 kB / 0.9552 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005125/1.096, allocations: 3.759 MB / 0.9589 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/1.097, allocations: 0.9199 MB / 0.9598 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003875/1.097, allocations: 102.9 kB / 0.9599 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/1.097, allocations: 168.2 kB / 0.96 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/1.097, allocations: 0 / 0.96 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/1.132, allocations: 12.97 MB / 0.9727 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.132, allocations: 218.7 kB / 0.9729 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.525, allocations: 0 / 0.9729 GB, free: 6.992 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: