Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.394/1.394, 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.001135/0.001135, allocations: 189.6 kB / 326.5 MB, free: 2.262 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.333/2.333, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.000832/0.000832, allocations: 82.42 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004433, allocations: 10.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2705, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001023/0.2716, allocations: 0.564 MB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.2717, allocations: 45.05 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.2718, allocations: 0 / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.2718, allocations: 3.938 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.2719, allocations: 19.97 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.56e-05/0.272, allocations: 8 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.705e-05/0.2721, allocations: 43.89 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2722, allocations: 37.5 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.2722, allocations: 15.86 kB / 0.9009 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.2723, allocations: 27.86 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2723, allocations: 0 / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.2724, allocations: 4 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.2724, allocations: 7.938 kB / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.2724, allocations: 37.64 kB / 0.9009 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.681e-05/0.2725, allocations: 55.86 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2725, allocations: 0 / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2725, allocations: 0 / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2725, allocations: 0 / 0.901 GB, free: 62.98 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.0003643/0.2729, allocations: 379.4 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2729, allocations: 8.031 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.273, allocations: 38.56 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.273, allocations: 15.75 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.2732, allocations: 198.8 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2732, allocations: 8 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.2733, allocations: 4 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2734, allocations: 97 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2734, allocations: 4 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2734, allocations: 11.94 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2735, allocations: 0 / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.26e-05/0.2735, allocations: 39.97 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.274, allocations: 440.6 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.2741, allocations: 45.39 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.2741, allocations: 4 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2741, allocations: 34.56 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.2741, allocations: 0 / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001572/0.2743, allocations: 57.67 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.2743, allocations: 81.14 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2745, allocations: 174.1 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.2745, allocations: 25.7 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.2745, allocations: 104 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-06/0.2745, allocations: 11.91 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.2745, allocations: 0 / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.2746, allocations: 318.8 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.2746, allocations: 4 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.2747, allocations: 21.72 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.2747, allocations: 12 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2747, allocations: 0 / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.19e-05/0.2748, allocations: 73.42 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2748, allocations: 4 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2748, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2748, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.2749, allocations: 12.06 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2749, allocations: 0 / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.2749, allocations: 7.844 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2749, allocations: 4 kB / 0.9031 GB, free: 60.54 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.976e-05/0.275, allocations: 117.8 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.2751, allocations: 19.8 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.2751, allocations: 12.56 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2751, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2751, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2751, allocations: 4 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.2754, allocations: 478.8 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2754, allocations: 0 / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.2755, allocations: 4 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2755, allocations: 0 / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.2755, allocations: 4 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2755, allocations: 7.938 kB / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2755, allocations: 0 / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.42e-05/0.2756, allocations: 95.62 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.2756, allocations: 96.91 kB / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.2757, allocations: 0 / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.2757, allocations: 0 / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.2757, allocations: 4 kB / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.2757, allocations: 4.031 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.923e-05/0.2758, allocations: 128.9 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2758, allocations: 0 / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001763/0.276, allocations: 8 kB / 0.9041 GB, free: 59.46 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.0003048/0.2763, allocations: 0.6992 MB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.2764, allocations: 15.94 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2764, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.2764, allocations: 12 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.0001167/0.2766, allocations: 7.984 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.2774, allocations: 0.7515 MB / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.2775, allocations: 0.7004 MB / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.2776, allocations: 4.438 kB / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.2776, allocations: 27.42 kB / 0.9062 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2776, allocations: 3.938 kB / 0.9062 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.2894, allocations: 1.604 MB / 0.9078 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.2896, allocations: 197 kB / 0.908 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.808, allocations: 0 / 0.908 GB, free: 55.46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)