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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005021/0.005021, allocations: 99.08 kB / 15.73 MB, free: 6.5 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.001101/0.001101, allocations: 194.4 kB / 16.67 MB, free: 6.391 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.026/1.026, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 72.02 kB / 0.5955 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4957, allocations: 82.04 MB / 0.6756 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.00233/0.4981, allocations: 1.578 MB / 0.6772 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008037/0.4989, allocations: 0.5053 MB / 0.6777 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.499, allocations: 2.344 kB / 0.6777 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.4991, allocations: 11.86 kB / 0.6777 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.631e-05/0.4992, allocations: 14.31 kB / 0.6777 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.4995, allocations: 35.08 kB / 0.6777 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.4996, allocations: 90.02 kB / 0.6778 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.4998, allocations: 40.7 kB / 0.6779 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.4999, allocations: 50.2 kB / 0.6779 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.5, allocations: 35.94 kB / 0.6779 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.5, allocations: 6.375 kB / 0.678 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.5001, allocations: 9.406 kB / 0.678 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.5001, allocations: 21.7 kB / 0.678 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.5002, allocations: 45.06 kB / 0.678 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.5003, allocations: 90.19 kB / 0.6781 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5004, allocations: 3.938 kB / 0.6781 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5004, allocations: 0 / 0.6781 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.5004, allocations: 1.406 kB / 0.6781 GB, free: 15.61 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.0005238/0.5009, allocations: 405.1 kB / 0.6785 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.5009, allocations: 9.938 kB / 0.6785 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.501, allocations: 17.36 kB / 0.6785 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.5012, allocations: 191.9 kB / 0.6787 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.5012, allocations: 7.438 kB / 0.6787 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.5012, allocations: 4.188 kB / 0.6787 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.5015, allocations: 117.8 kB / 0.6788 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5015, allocations: 7.938 kB / 0.6788 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.5015, allocations: 4.5 kB / 0.6789 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5015, allocations: 2.656 kB / 0.6789 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.5018, allocations: 97.86 kB / 0.6789 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.5023, allocations: 383.5 kB / 0.6793 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.5025, allocations: 55.98 kB / 0.6794 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.5026, allocations: 53.3 kB / 0.6794 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.5026, allocations: 2.344 kB / 0.6794 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.5027, allocations: 31.66 kB / 0.6794 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.5027, allocations: 0 / 0.6794 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.000435/0.5031, allocations: 171.8 kB / 0.6796 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.5032, allocations: 52.56 kB / 0.6797 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.5033, allocations: 137.5 kB / 0.6798 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.5033, allocations: 26.92 kB / 0.6798 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.5034, allocations: 108.3 kB / 0.6799 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.5034, allocations: 14.39 kB / 0.6799 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.5035, allocations: 26.27 kB / 0.68 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5036, allocations: 321.3 kB / 0.6803 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.5037, allocations: 38.25 kB / 0.6803 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.5038, allocations: 39.62 kB / 0.6803 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.5041, allocations: 84.12 kB / 0.6804 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5041, allocations: 4 kB / 0.6804 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002778/0.5043, allocations: 130.4 kB / 0.6806 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5044, allocations: 8.719 kB / 0.6806 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5044, allocations: 0 / 0.6806 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5044, allocations: 1.25 kB / 0.6806 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.5045, allocations: 19.92 kB / 0.6806 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.5045, allocations: 1.531 kB / 0.6806 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.342e-05/0.5046, allocations: 21.28 kB / 0.6806 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.5046, allocations: 6.391 kB / 0.6806 GB, free: 13.41 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 8.559e-05/0.5047, allocations: 119.7 kB / 0.6807 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.5048, allocations: 7.078 kB / 0.6807 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.5051, allocations: 144.5 kB / 0.6809 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5051, allocations: 5.219 kB / 0.6809 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5052, allocations: 1.688 kB / 0.6809 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5052, allocations: 4 kB / 0.6809 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.5054, allocations: 209.5 kB / 0.6811 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5054, allocations: 0 / 0.6811 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-05/0.5055, allocations: 17.05 kB / 0.6811 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5055, allocations: 1.438 kB / 0.6811 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5055, allocations: 0 / 0.6811 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.5055, allocations: 9.391 kB / 0.6811 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5055, allocations: 0 / 0.6811 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.5058, allocations: 225.3 kB / 0.6813 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.5059, allocations: 90.48 kB / 0.6814 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.5059, allocations: 1.438 kB / 0.6814 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.506, allocations: 8.156 kB / 0.6814 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.5061, allocations: 11.27 kB / 0.6814 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5061, allocations: 2.969 kB / 0.6814 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.5061, allocations: 102.4 kB / 0.6815 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5062, allocations: 4 kB / 0.6815 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002319/0.5064, allocations: 21.55 kB / 0.6815 GB, free: 12.55 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.0001381/0.5065, allocations: 100.1 kB / 0.6816 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.5068, allocations: 101.1 kB / 0.6817 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5068, allocations: 1.219 kB / 0.6817 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.507, allocations: 56.14 kB / 0.6818 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.5072, allocations: 5.188 kB / 0.6818 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.5076, allocations: 216.8 kB / 0.682 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.5078, allocations: 0.7028 MB / 0.6827 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.5079, allocations: 17.06 kB / 0.6827 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.508, allocations: 18.81 kB / 0.6827 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.508, allocations: 3.938 kB / 0.6827 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of Templates: time 0.002671/0.5107, allocations: 0.7211 MB / 0.6834 GB, free: 11.12 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)