Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 184.8 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.249/2.249, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000988/0.0009877, allocations: 93.42 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 9.562 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2406, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0009426/0.2416, allocations: 0.5641 MB / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001063/0.2417, allocations: 49.03 kB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.2418, allocations: 4 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.2418, allocations: 3.938 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.669e-05/0.2419, allocations: 7.984 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.606e-05/0.242, allocations: 15.98 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.242, allocations: 39.89 kB / 0.9008 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2422, allocations: 37.56 kB / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.2422, allocations: 23.86 kB / 0.9009 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.2423, allocations: 19.86 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2423, allocations: 0 / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-06/0.2423, allocations: 4 kB / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.2423, allocations: 3.938 kB / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.2424, allocations: 37.64 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.389e-05/0.2425, allocations: 63.86 kB / 0.901 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2425, allocations: 0 / 0.901 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2425, allocations: 0 / 0.901 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2425, allocations: 0 / 0.901 GB, free: 62.99 MB / 0.6042 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.0003165/0.2428, allocations: 372.7 kB / 0.9013 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2428, allocations: 8.031 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.2429, allocations: 38.56 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.2429, allocations: 15.75 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.2431, allocations: 203.8 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.2431, allocations: 8 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.2431, allocations: 8 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2432, allocations: 93.8 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2433, allocations: 3.938 kB / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2433, allocations: 4 kB / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2433, allocations: 0 / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/0.2434, allocations: 35.98 kB / 0.9017 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.2438, allocations: 452.7 kB / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.2438, allocations: 41.28 kB / 0.9022 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.2439, allocations: 3.984 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.2439, allocations: 34.56 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2439, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.244, allocations: 57.45 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.2441, allocations: 88.98 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2442, allocations: 170.2 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.2442, allocations: 25.7 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.2443, allocations: 108.3 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.2443, allocations: 7.906 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.2443, allocations: 0 / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.2444, allocations: 314.8 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.2444, allocations: 11.98 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.2444, allocations: 17.72 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.2444, allocations: 8 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2444, allocations: 0 / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.005e-05/0.2445, allocations: 73.48 kB / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2445, allocations: 4 kB / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2445, allocations: 0 / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2446, allocations: 0 / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.2446, allocations: 8 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2447, allocations: 0 / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.2447, allocations: 7.844 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2447, allocations: 8 kB / 0.9031 GB, free: 60.55 MB / 0.6042 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 6.284e-05/0.2448, allocations: 117.9 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.2448, allocations: 19.78 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.2448, allocations: 12.56 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2448, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2448, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2449, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.2451, allocations: 482.8 kB / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2451, allocations: 4.062 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.2452, allocations: 4 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2452, allocations: 96 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2452, allocations: 7.922 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2452, allocations: 4 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2452, allocations: 0 / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.472e-05/0.2453, allocations: 99.56 kB / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.2453, allocations: 88.92 kB / 0.9039 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2453, allocations: 0 / 0.9039 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.2454, allocations: 7.984 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.2454, allocations: 0 / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.2454, allocations: 0 / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.2455, allocations: 128.9 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2455, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001782/0.2456, allocations: 8 kB / 0.9041 GB, free: 59.48 MB / 0.6042 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.0002618/0.2459, allocations: 0.7031 MB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.553e-05/0.246, allocations: 19.94 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.246, allocations: 4.156 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.246, allocations: 8 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.2461, allocations: 7.938 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.2469, allocations: 0.7416 MB / 0.9055 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.247, allocations: 0.7004 MB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.2471, allocations: 8.438 kB / 0.9062 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.2471, allocations: 27.42 kB / 0.9062 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of SimCode: time 6.42e-07/0.2471, allocations: 0 / 0.9062 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.2584, allocations: 1.583 MB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/0.2586, allocations: 206.3 kB / 0.908 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.736, allocations: 4 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)