Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.642/2.642, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 184.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.4 MB / 0.6295 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 82.88 kB / 0.7428 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006627/0.0006628, allocations: 16.16 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2255, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001102/0.2267, allocations: 0.5443 MB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.2268, allocations: 43.78 kB / 0.9789 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.2269, allocations: 4 kB / 0.9789 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.2269, allocations: 3.938 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.227, allocations: 3.984 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.893e-05/0.2271, allocations: 15.98 kB / 0.9789 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.2272, allocations: 43.89 kB / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.2274, allocations: 33.56 kB / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.2274, allocations: 23.86 kB / 0.979 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.2275, allocations: 27.73 kB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.2275, allocations: 0 / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.2276, allocations: 4 kB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.2276, allocations: 8 kB / 0.979 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.2276, allocations: 37.64 kB / 0.9791 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.154e-05/0.2277, allocations: 60.08 kB / 0.9791 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2277, allocations: 0 / 0.9791 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2277, allocations: 0 / 0.9791 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.2278, allocations: 0 / 0.9791 GB, free: 27.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004228/0.2282, allocations: 379 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2282, allocations: 12.02 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.2283, allocations: 38.56 kB / 0.9795 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.2283, allocations: 11.84 kB / 0.9795 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.2285, allocations: 198.8 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2286, allocations: 8 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2286, allocations: 4 kB / 0.9797 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2288, allocations: 93.2 kB / 0.9798 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2288, allocations: 0 / 0.9798 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2288, allocations: 8 kB / 0.9798 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2289, allocations: 0 / 0.9798 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.229, allocations: 35.98 kB / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.2296, allocations: 456.5 kB / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/0.2297, allocations: 37.22 kB / 0.9803 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.2297, allocations: 7.984 kB / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.2297, allocations: 34.59 kB / 0.9804 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.2297, allocations: 0 / 0.9804 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002101/0.23, allocations: 57.61 kB / 0.9804 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.23, allocations: 77.11 kB / 0.9805 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.2302, allocations: 169 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.2302, allocations: 25.95 kB / 0.9807 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.2303, allocations: 119.8 kB / 0.9808 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.2303, allocations: 4 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.2303, allocations: 4 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.2304, allocations: 318.8 kB / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.2304, allocations: 7.984 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.2305, allocations: 29.64 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.2305, allocations: 12 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2305, allocations: 0 / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001172/0.2306, allocations: 73.39 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2307, allocations: 4 kB / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2307, allocations: 0 / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2307, allocations: 0 / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2308, allocations: 8 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2308, allocations: 4 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.2309, allocations: 4 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2309, allocations: 0 / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.321e-05/0.231, allocations: 117.9 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.2311, allocations: 15.84 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.2311, allocations: 12.56 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2311, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2311, allocations: 3.938 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2311, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.2316, allocations: 486.7 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2316, allocations: 0 / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.2317, allocations: 7.938 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2317, allocations: 0 / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2317, allocations: 0 / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2317, allocations: 4 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2317, allocations: 0 / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.2318, allocations: 95.62 kB / 0.982 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.2319, allocations: 89.02 kB / 0.982 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.2319, allocations: 0 / 0.982 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.232, allocations: 7.984 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.232, allocations: 0 / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.232, allocations: 0 / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001083/0.2321, allocations: 132.1 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2322, allocations: 0 / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002479/0.2324, allocations: 16.03 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003177/0.2327, allocations: 0.6914 MB / 0.9829 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2329, allocations: 23.97 kB / 0.9829 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2329, allocations: 3.938 kB / 0.9829 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.2329, allocations: 11.94 kB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.2331, allocations: 4 kB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2341, allocations: 0.7305 MB / 0.9836 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2343, allocations: 0.7043 MB / 0.9843 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.755e-05/0.2343, allocations: 4.438 kB / 0.9843 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.2344, allocations: 27.42 kB / 0.9843 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2344, allocations: 0 / 0.9843 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.2529, allocations: 1.575 MB / 0.9859 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.2532, allocations: 193.7 kB / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/2.593, allocations: 0 / 0.9861 GB, free: 19.91 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)