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.535/1.535, allocations: 252 MB / 267.3 MB, free: 10.84 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.001297/0.001297, allocations: 180.9 kB / 327 MB, free: 2.074 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.735/1.735, allocations: 205.4 MB / 0.578 GB, free: 20.39 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.0007951/0.0007952, allocations: 87.98 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 10 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2001, allocations: 106.3 MB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6765/0.8766, allocations: 171.7 MB / 1.069 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009896/0.8865, allocations: 8.713 MB / 1.077 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008562/0.8874, allocations: 19.25 kB / 1.077 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.8882, allocations: 235.2 kB / 1.077 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007692/0.889, allocations: 300.7 kB / 1.078 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.89, allocations: 331.3 kB / 1.078 GB, free: 1.715 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002466/0.8925, allocations: 1.62 MB / 1.079 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008866/0.8934, allocations: 493.6 kB / 1.08 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004975/0.8984, allocations: 1.915 MB / 1.082 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000691/0.8991, allocations: 350.2 kB / 1.082 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.8992, allocations: 20.75 kB / 1.082 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.8995, allocations: 59 kB / 1.082 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.8998, allocations: 233 kB / 1.082 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005215/0.9004, allocations: 280.9 kB / 1.083 GB, free: 17.53 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007801/0.9012, allocations: 0.588 MB / 1.083 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9012, allocations: 0 / 1.083 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9012, allocations: 0 / 1.083 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.9012, allocations: 4 kB / 1.083 GB, free: 17.48 MB / 0.7136 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.001133/0.9023, allocations: 0.7145 MB / 1.084 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.9024, allocations: 9.469 kB / 1.084 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.9025, allocations: 97.64 kB / 1.084 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.9026, allocations: 68.66 kB / 1.084 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.9032, allocations: 409.2 kB / 1.085 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.9033, allocations: 45.02 kB / 1.085 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.381e-05/0.9033, allocations: 53.84 kB / 1.085 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.9043, allocations: 0.7208 MB / 1.085 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.9043, allocations: 5.25 kB / 1.085 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.9044, allocations: 21.12 kB / 1.085 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/0.9045, allocations: 32.77 kB / 1.085 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.9052, allocations: 387.2 kB / 1.086 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.9084, allocations: 3.229 MB / 1.089 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.9087, allocations: 230.7 kB / 1.089 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.9089, allocations: 133.8 kB / 1.089 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.9089, allocations: 6.453 kB / 1.089 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.909, allocations: 45.75 kB / 1.089 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/0.909, allocations: 0 / 1.089 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0007158/0.9097, allocations: 265.5 kB / 1.09 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.9099, allocations: 289.3 kB / 1.09 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/0.9107, allocations: 0.6869 MB / 1.091 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.9107, allocations: 29.5 kB / 1.091 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.911, allocations: 269.6 kB / 1.091 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.911, allocations: 35.22 kB / 1.091 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.911, allocations: 1.031 kB / 1.091 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9112, allocations: 370.5 kB / 1.091 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.9113, allocations: 46.8 kB / 1.091 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.9115, allocations: 98.98 kB / 1.091 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.9118, allocations: 140.2 kB / 1.091 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9118, allocations: 4 kB / 1.091 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003497/0.9121, allocations: 201.8 kB / 1.092 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.9122, allocations: 9.906 kB / 1.092 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.9122, allocations: 4 kB / 1.092 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.9122, allocations: 3.375 kB / 1.092 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.9124, allocations: 48.31 kB / 1.092 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.9124, allocations: 5.969 kB / 1.092 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.9127, allocations: 70.16 kB / 1.092 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.9127, allocations: 6.719 kB / 1.092 GB, free: 12.38 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.0002124/0.913, allocations: 205.5 kB / 1.092 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.9132, allocations: 56.22 kB / 1.092 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.516e-05/0.9133, allocations: 57.73 kB / 1.092 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.9133, allocations: 2.719 kB / 1.092 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.9133, allocations: 3.344 kB / 1.092 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.9133, allocations: 10.28 kB / 1.092 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.9146, allocations: 1.304 MB / 1.093 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9146, allocations: 6.719 kB / 1.093 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.9148, allocations: 49.2 kB / 1.093 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.9148, allocations: 2.812 kB / 1.093 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.9149, allocations: 12.84 kB / 1.093 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.9149, allocations: 5.625 kB / 1.093 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.9149, allocations: 2.438 kB / 1.093 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.9152, allocations: 346.2 kB / 1.094 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.9154, allocations: 148.7 kB / 1.094 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.9154, allocations: 8.062 kB / 1.094 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.9156, allocations: 18.97 kB / 1.094 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.9157, allocations: 14.09 kB / 1.094 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-06/0.9157, allocations: 10.58 kB / 1.094 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005257/0.9162, allocations: 0.4935 MB / 1.095 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9162, allocations: 1.562 kB / 1.095 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003939/0.9166, allocations: 84.56 kB / 1.095 GB, free: 10.75 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.000837/0.9175, allocations: 0.9196 MB / 1.095 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.9178, allocations: 117.9 kB / 1.096 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9178, allocations: 0.9375 kB / 1.096 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.918, allocations: 69.22 kB / 1.096 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.9195, allocations: 269.4 kB / 1.096 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.9249, allocations: 4.715 MB / 1.101 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.9254, allocations: 0.9089 MB / 1.101 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.9257, allocations: 108 kB / 1.102 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.9258, allocations: 166.8 kB / 1.102 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of SimCode: time 1.764e-06/0.9258, allocations: 0 / 1.102 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.9519, allocations: 12.83 MB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.9521, allocations: 250.9 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.623, allocations: 0 / 1.114 GB, free: 5.773 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)