Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001009/0.001009, allocations: 99.86 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.001019/0.001019, 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 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.996/0.996, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003398, allocations: 8 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2054, allocations: 83.4 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.6026/0.808, allocations: 146.9 MB / 0.7408 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.8182, allocations: 7.021 MB / 0.7477 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000957/0.8192, allocations: 15.88 kB / 0.7477 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.8206, allocations: 352.5 kB / 0.748 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.822, allocations: 368.5 kB / 0.7484 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.8243, allocations: 0.5213 MB / 0.7489 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.8257, allocations: 0.6806 MB / 0.7496 GB, free: 15.48 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008038/0.8265, allocations: 452.6 kB / 0.75 GB, free: 15.13 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.8301, allocations: 1.229 MB / 0.7512 GB, free: 14.13 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.8304, allocations: 211.1 kB / 0.7514 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.8305, allocations: 20 kB / 0.7514 GB, free: 13.94 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.8307, allocations: 54.36 kB / 0.7515 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.831, allocations: 216.9 kB / 0.7517 GB, free: 13.74 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.8311, allocations: 129.4 kB / 0.7518 GB, free: 13.61 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000603/0.8317, allocations: 477.8 kB / 0.7522 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8317, allocations: 4 kB / 0.7522 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8317, allocations: 0 / 0.7522 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.8317, allocations: 0 / 0.7522 GB, free: 13.35 MB / 0.5763 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.001048/0.8328, allocations: 0.7198 MB / 0.753 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.8329, allocations: 8.031 kB / 0.753 GB, free: 12.57 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.833, allocations: 102.5 kB / 0.7531 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.8331, allocations: 67.25 kB / 0.7531 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.8337, allocations: 402.5 kB / 0.7535 GB, free: 11.96 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.8337, allocations: 41.3 kB / 0.7535 GB, free: 11.92 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.8338, allocations: 48 kB / 0.7536 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.8348, allocations: 0.7066 MB / 0.7543 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.8349, allocations: 3.938 kB / 0.7543 GB, free: 11.08 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.8349, allocations: 20 kB / 0.7543 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/0.835, allocations: 40.42 kB / 0.7543 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.8356, allocations: 385 kB / 0.7547 GB, free: 10.65 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.8384, allocations: 3.227 MB / 0.7579 GB, free: 7.277 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.8387, allocations: 226.1 kB / 0.7581 GB, free: 6.965 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.8387, allocations: 8.062 kB / 0.7581 GB, free: 6.957 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.8387, allocations: 43 kB / 0.7581 GB, free: 6.906 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.8387, allocations: 0 / 0.7581 GB, free: 6.906 MB / 0.5763 GB Notification: Performance of matching and sorting (n=10): time 0.0006844/0.8394, allocations: 261.8 kB / 0.7584 GB, free: 6.645 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.8396, allocations: 298.7 kB / 0.7587 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.8404, allocations: 0.676 MB / 0.7593 GB, free: 5.602 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.8404, allocations: 33.7 kB / 0.7594 GB, free: 5.562 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.8406, allocations: 268.1 kB / 0.7596 GB, free: 5.297 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.8407, allocations: 31.55 kB / 0.7596 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.8407, allocations: 0 / 0.7596 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.8409, allocations: 378.7 kB / 0.76 GB, free: 4.887 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.841, allocations: 40.3 kB / 0.76 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.8412, allocations: 101 kB / 0.7601 GB, free: 4.73 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.8413, allocations: 55.95 kB / 0.7602 GB, free: 4.676 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.8413, allocations: 3.938 kB / 0.7602 GB, free: 4.672 MB / 0.5763 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003298/0.8417, allocations: 196.8 kB / 0.7604 GB, free: 4.473 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8417, allocations: 8 kB / 0.7604 GB, free: 4.465 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.8417, allocations: 0 / 0.7604 GB, free: 4.465 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.8417, allocations: 4 kB / 0.7604 GB, free: 4.461 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.842, allocations: 60.7 kB / 0.7604 GB, free: 4.402 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.842, allocations: 0 / 0.7604 GB, free: 4.402 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.8422, allocations: 67.34 kB / 0.7605 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.8422, allocations: 8.703 kB / 0.7605 GB, free: 4.328 MB / 0.5763 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.0002215/0.8425, allocations: 201.7 kB / 0.7607 GB, free: 4.121 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.8427, allocations: 59.25 kB / 0.7608 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.593e-05/0.8428, allocations: 60.31 kB / 0.7608 GB, free: 3.996 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.8428, allocations: 9.422 kB / 0.7608 GB, free: 3.988 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.8428, allocations: 4 kB / 0.7608 GB, free: 3.984 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8428, allocations: 4 kB / 0.7608 GB, free: 3.98 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.8442, allocations: 1.297 MB / 0.7621 GB, free: 2.594 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8442, allocations: 8.062 kB / 0.7621 GB, free: 2.586 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.8444, allocations: 55.89 kB / 0.7622 GB, free: 2.531 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8444, allocations: 4 kB / 0.7622 GB, free: 2.527 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.8444, allocations: 4 kB / 0.7622 GB, free: 2.523 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.8444, allocations: 7.922 kB / 0.7622 GB, free: 2.516 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.8445, allocations: 11.95 kB / 0.7622 GB, free: 2.504 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.8449, allocations: 450.3 kB / 0.7626 GB, free: 1.965 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.8451, allocations: 148.3 kB / 0.7628 GB, free: 1.801 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.8452, allocations: 0 / 0.7628 GB, free: 1.801 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.8454, allocations: 27.97 kB / 0.7628 GB, free: 1.773 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.8454, allocations: 12.56 kB / 0.7628 GB, free: 1.762 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.8454, allocations: 7.953 kB / 0.7628 GB, free: 1.754 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0005557/0.846, allocations: 0.4912 MB / 0.7633 GB, free: 1.266 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.61e-07/0.846, allocations: 4 kB / 0.7633 GB, free: 1.262 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004025/0.8464, allocations: 83.94 kB / 0.7634 GB, free: 1.18 MB / 0.5763 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.001209/0.8476, allocations: 1.64 MB / 0.765 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.848, allocations: 108 kB / 0.7651 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.848, allocations: 4.375 kB / 0.7651 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.8482, allocations: 75.77 kB / 0.7652 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.8494, allocations: 267.4 kB / 0.7654 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.8541, allocations: 3.763 MB / 0.7691 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.8547, allocations: 0.913 MB / 0.77 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003188/0.855, allocations: 109.8 kB / 0.7701 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.8552, allocations: 167.4 kB / 0.7702 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.8552, allocations: 0 / 0.7702 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.8828, allocations: 12.98 MB / 0.7829 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.883, allocations: 230 kB / 0.7831 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.868, allocations: 0 / 0.7831 GB, free: 13.04 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: