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_bar.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_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.479/1.479, allocations: 252 MB / 267 MB, free: 10.95 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.001034/0.001034, allocations: 175.9 kB / 326.6 MB, free: 2.23 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.177/2.177, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0007693/0.0007691, allocations: 91.97 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 11.69 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2507, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0009548/0.2517, allocations: 0.5578 MB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00012/0.2518, allocations: 51.77 kB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.2519, allocations: 0 / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.2519, allocations: 7.875 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.176e-05/0.252, allocations: 7.938 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.914e-05/0.252, allocations: 11.98 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.2521, allocations: 59.84 kB / 0.901 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2523, allocations: 37.55 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.193e-05/0.2523, allocations: 19.88 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.2524, allocations: 23.8 kB / 0.9011 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2524, allocations: 4 kB / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.2524, allocations: 0 / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.2524, allocations: 11.92 kB / 0.9011 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.2525, allocations: 41.64 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.806e-05/0.2526, allocations: 59.86 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2526, allocations: 0 / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2526, allocations: 0 / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2526, allocations: 0 / 0.9012 GB, free: 63.43 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.0003673/0.253, allocations: 367.4 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.253, allocations: 12.03 kB / 0.9015 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.253, allocations: 38.55 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.2531, allocations: 19.75 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.2533, allocations: 198.8 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2533, allocations: 4 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.2533, allocations: 8 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.2534, allocations: 97.47 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2534, allocations: 0 / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2535, allocations: 3.938 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2535, allocations: 4 kB / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.076e-05/0.2536, allocations: 43.91 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.254, allocations: 448.5 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.254, allocations: 41.28 kB / 0.9024 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.2541, allocations: 21.84 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.2541, allocations: 4 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.2541, allocations: 34.56 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2541, allocations: 0 / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.2543, allocations: 57.44 kB / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.2543, allocations: 81.36 kB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2544, allocations: 174.2 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.2545, allocations: 25.7 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.2545, allocations: 108 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.2545, allocations: 3.906 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.2545, allocations: 0 / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.2546, allocations: 322.8 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.2546, allocations: 8 kB / 0.9032 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.2546, allocations: 17.7 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.2546, allocations: 12 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2547, allocations: 3.953 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.787e-05/0.2547, allocations: 61.55 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2547, allocations: 4 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2548, allocations: 7.984 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2548, allocations: 0 / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.2548, allocations: 4 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2549, allocations: 4 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.2549, allocations: 15.91 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2549, allocations: 0 / 0.9033 GB, free: 60.96 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 5.58e-05/0.255, allocations: 117.8 kB / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.255, allocations: 11.86 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.255, allocations: 16.55 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.255, allocations: 4 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2551, allocations: 0 / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2551, allocations: 0 / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.2553, allocations: 482.8 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2554, allocations: 0 / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.2554, allocations: 7.984 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2554, allocations: 0 / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2554, allocations: 0 / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2554, allocations: 3.938 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2554, allocations: 3.938 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.487e-05/0.2555, allocations: 81.92 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.2555, allocations: 96.91 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2555, allocations: 0 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.2556, allocations: 0 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.2556, allocations: 0 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2556, allocations: 4 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.374e-05/0.2557, allocations: 128.9 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2557, allocations: 4.031 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002012/0.2559, allocations: 8 kB / 0.9043 GB, free: 59.9 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.0002558/0.2561, allocations: 0.6171 MB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.442e-05/0.2562, allocations: 20.03 kB / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2562, allocations: 0 / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.2563, allocations: 7.938 kB / 0.9049 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.2564, allocations: 8 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.2571, allocations: 0.6083 MB / 0.9055 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.2572, allocations: 0.6965 MB / 0.9062 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.2573, allocations: 8.422 kB / 0.9062 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.2573, allocations: 27.42 kB / 0.9062 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2573, allocations: 0 / 0.9062 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.2685, allocations: 1.597 MB / 0.9078 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.2687, allocations: 208.4 kB / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/1.76, allocations: 3.938 kB / 0.908 GB, free: 56.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)