Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",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.005291/0.005291, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001323/0.001323, allocations: 190.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.066/1.066, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.89 kB / 0.5953 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5369, allocations: 82.03 MB / 0.6754 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002622/0.5396, allocations: 1.596 MB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.5406, allocations: 0.5057 MB / 0.6775 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.5407, allocations: 1.094 kB / 0.6775 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.5408, allocations: 11.86 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.5409, allocations: 14.11 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.5412, allocations: 36.28 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.5413, allocations: 85.23 kB / 0.6776 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.5415, allocations: 45.56 kB / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.5416, allocations: 46.81 kB / 0.6777 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.158e-05/0.5417, allocations: 34.91 kB / 0.6777 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.5417, allocations: 6.125 kB / 0.6777 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.175e-05/0.5418, allocations: 14.44 kB / 0.6778 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.5419, allocations: 24.62 kB / 0.6778 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.5419, allocations: 37.73 kB / 0.6778 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.5422, allocations: 92.97 kB / 0.6779 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5422, allocations: 4 kB / 0.6779 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5422, allocations: 0 / 0.6779 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5422, allocations: 1.125 kB / 0.6779 GB, free: 15.01 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006549/0.5429, allocations: 404.4 kB / 0.6783 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5429, allocations: 13.64 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.543, allocations: 32.88 kB / 0.6783 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.543, allocations: 13.8 kB / 0.6783 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.5432, allocations: 194.2 kB / 0.6785 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.5433, allocations: 7.875 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.5433, allocations: 4.125 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.5436, allocations: 110.4 kB / 0.6787 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5436, allocations: 9.172 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5436, allocations: 3.984 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5436, allocations: 2.219 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.5439, allocations: 94.88 kB / 0.6788 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.5445, allocations: 382.7 kB / 0.6791 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.5447, allocations: 60.33 kB / 0.6792 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.5449, allocations: 53.16 kB / 0.6792 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.5449, allocations: 2.125 kB / 0.6792 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.5449, allocations: 31.59 kB / 0.6793 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.5449, allocations: 0.9062 kB / 0.6793 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.000493/0.5454, allocations: 163.5 kB / 0.6794 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5455, allocations: 56.5 kB / 0.6795 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.5456, allocations: 137.9 kB / 0.6796 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.5457, allocations: 25.7 kB / 0.6796 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.5458, allocations: 108.4 kB / 0.6797 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.5458, allocations: 22.91 kB / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.5458, allocations: 21.97 kB / 0.6798 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.546, allocations: 321.7 kB / 0.6801 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5461, allocations: 38.19 kB / 0.6801 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.5463, allocations: 39.28 kB / 0.6802 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.5465, allocations: 92.08 kB / 0.6802 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5465, allocations: 384 / 0.6802 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003234/0.5469, allocations: 125.5 kB / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5469, allocations: 9.547 kB / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5469, allocations: 0 / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5469, allocations: 5.062 kB / 0.6804 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.5471, allocations: 21.48 kB / 0.6804 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5471, allocations: 0 / 0.6804 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/0.5472, allocations: 21.78 kB / 0.6804 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.5472, allocations: 2.188 kB / 0.6804 GB, free: 12.77 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.000109/0.5473, allocations: 115.7 kB / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.5474, allocations: 7.484 kB / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.5477, allocations: 144.9 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5478, allocations: 7.875 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5478, allocations: 0 / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5478, allocations: 5.344 kB / 0.6807 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.548, allocations: 210 kB / 0.6809 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.548, allocations: 0 / 0.6809 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.5481, allocations: 21.16 kB / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5482, allocations: 0 / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.5482, allocations: 1.031 kB / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5482, allocations: 4.969 kB / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5482, allocations: 0 / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.5486, allocations: 224.6 kB / 0.6811 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.5486, allocations: 83.34 kB / 0.6812 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.5486, allocations: 1.031 kB / 0.6812 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5487, allocations: 13.7 kB / 0.6812 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.5488, allocations: 9.875 kB / 0.6812 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.5488, allocations: 7.734 kB / 0.6812 GB, free: 12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.127e-05/0.5489, allocations: 102.2 kB / 0.6813 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5489, allocations: 4 kB / 0.6813 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002409/0.5492, allocations: 18.02 kB / 0.6814 GB, free: 11.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0008112/0.55, allocations: 0.7594 MB / 0.6821 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.5503, allocations: 108.5 kB / 0.6822 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5503, allocations: 0 / 0.6822 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.5505, allocations: 52.94 kB / 0.6823 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.5507, allocations: 9.156 kB / 0.6823 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.5527, allocations: 1.604 MB / 0.6838 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.5531, allocations: 0.6999 MB / 0.6845 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.5533, allocations: 20.08 kB / 0.6845 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.5533, allocations: 22.91 kB / 0.6846 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.5533, allocations: 0 / 0.6846 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.5762, allocations: 2.019 MB / 0.6865 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.588, allocations: 9.188 kB / 0.6865 GB, free: 7.922 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)