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.0007812/0.0007812, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008687/0.0008687, allocations: 168.7 kB / 15.95 MB, free: 204 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.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.071/1.071, allocations: 143.4 MB / 434.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003915, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 83.43 MB / 0.5975 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.5166/0.6962, allocations: 160 MB / 0.7538 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009288/0.7055, allocations: 8.093 MB / 0.7617 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007606/0.7063, allocations: 19.81 kB / 0.7617 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007001/0.707, allocations: 210.4 kB / 0.7619 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006836/0.7077, allocations: 282.7 kB / 0.7622 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009039/0.7086, allocations: 297.7 kB / 0.7625 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.71, allocations: 1.372 MB / 0.7638 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.7106, allocations: 428.3 kB / 0.7642 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.7144, allocations: 1.482 MB / 0.7656 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.7149, allocations: 326.6 kB / 0.766 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.7149, allocations: 24 kB / 0.766 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.7151, allocations: 55.97 kB / 0.766 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.7154, allocations: 235.3 kB / 0.7663 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.7155, allocations: 125.5 kB / 0.7664 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.716, allocations: 478.8 kB / 0.7668 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.716, allocations: 4 kB / 0.7668 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.716, allocations: 0 / 0.7668 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.716, allocations: 0 / 0.7668 GB, free: 14.7 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0009207/0.7169, allocations: 0.7198 MB / 0.7675 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.717, allocations: 8.031 kB / 0.7675 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.7171, allocations: 102.4 kB / 0.7676 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.7172, allocations: 63.25 kB / 0.7677 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.7177, allocations: 406.4 kB / 0.7681 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.7177, allocations: 41.31 kB / 0.7681 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.7178, allocations: 59.97 kB / 0.7682 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009847/0.7188, allocations: 0.7027 MB / 0.7689 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.7188, allocations: 3.938 kB / 0.7689 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.7189, allocations: 31.98 kB / 0.7689 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/0.7189, allocations: 35.97 kB / 0.7689 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.7196, allocations: 383.3 kB / 0.7693 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.722, allocations: 3.216 MB / 0.7725 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.7223, allocations: 238 kB / 0.7727 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.7225, allocations: 132.6 kB / 0.7728 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.7225, allocations: 0 / 0.7728 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.7226, allocations: 46.5 kB / 0.7728 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.7226, allocations: 4 kB / 0.7729 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006608/0.7232, allocations: 265.6 kB / 0.7731 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.7234, allocations: 290.7 kB / 0.7734 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.7241, allocations: 0.676 MB / 0.774 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.7241, allocations: 29.7 kB / 0.7741 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.7244, allocations: 276.3 kB / 0.7743 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.7244, allocations: 35.53 kB / 0.7744 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.7244, allocations: 336 / 0.7744 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.7246, allocations: 378.7 kB / 0.7747 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.7247, allocations: 39.97 kB / 0.7748 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.7249, allocations: 101 kB / 0.7749 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.725, allocations: 55.95 kB / 0.7749 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.725, allocations: 0 / 0.7749 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003258/0.7254, allocations: 200.9 kB / 0.7751 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.7254, allocations: 8 kB / 0.7751 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7254, allocations: 0 / 0.7751 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7254, allocations: 4 kB / 0.7751 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.7256, allocations: 51.89 kB / 0.7752 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.7256, allocations: 0.5 kB / 0.7752 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.7259, allocations: 71.38 kB / 0.7752 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.7259, allocations: 8.188 kB / 0.7752 GB, free: 5.508 MB / 0.5919 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.0002005/0.7261, allocations: 197.7 kB / 0.7754 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.7263, allocations: 71.17 kB / 0.7755 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.946e-05/0.7264, allocations: 56.33 kB / 0.7756 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.7264, allocations: 8.688 kB / 0.7756 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.7264, allocations: 7.938 kB / 0.7756 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7264, allocations: 0 / 0.7756 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.7278, allocations: 1.293 MB / 0.7768 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7278, allocations: 0 / 0.7768 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.728, allocations: 60.73 kB / 0.7769 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.728, allocations: 4 kB / 0.7769 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.728, allocations: 8 kB / 0.7769 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.728, allocations: 8.438 kB / 0.7769 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7281, allocations: 4 kB / 0.7769 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.7284, allocations: 346.3 kB / 0.7772 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.7286, allocations: 152.3 kB / 0.7774 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/0.7287, allocations: 4 kB / 0.7774 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.7288, allocations: 18.3 kB / 0.7774 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.7289, allocations: 19.94 kB / 0.7774 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.7289, allocations: 8 kB / 0.7774 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005097/0.7294, allocations: 499 kB / 0.7779 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7294, allocations: 0 / 0.7779 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003638/0.7298, allocations: 79.92 kB / 0.778 GB, free: 2.531 MB / 0.5919 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.0008722/0.7307, allocations: 0.9261 MB / 0.7789 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.731, allocations: 115.7 kB / 0.779 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.731, allocations: 4 kB / 0.779 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.7311, allocations: 72.77 kB / 0.7791 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.7324, allocations: 268.7 kB / 0.7793 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.7363, allocations: 3.083 MB / 0.7823 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.7368, allocations: 0.9052 MB / 0.7832 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000248/0.7371, allocations: 101.2 kB / 0.7833 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.7373, allocations: 171.4 kB / 0.7835 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.7373, allocations: 4 kB / 0.7835 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.7628, allocations: 13 MB / 0.7962 GB, free: 76 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.763, allocations: 231.3 kB / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.72, allocations: 0 / 0.7964 GB, free: 15.84 MB / 0.6231 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: