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_Btu.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_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.35/1.35, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009283/0.0009282, allocations: 172.2 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006425/0.0006424, allocations: 92.36 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 9.344 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0008255/0.1487, allocations: 0.5998 MB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.923e-05/0.1488, allocations: 47.72 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.1489, allocations: 7.938 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.1489, allocations: 7.922 kB / 0.8968 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.149, allocations: 3.938 kB / 0.8969 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.486e-05/0.1491, allocations: 15.98 kB / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.1492, allocations: 59.84 kB / 0.8969 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1493, allocations: 53.58 kB / 0.897 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.1493, allocations: 19.81 kB / 0.897 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.1494, allocations: 23.8 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1494, allocations: 0 / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.1494, allocations: 4 kB / 0.897 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1494, allocations: 15.92 kB / 0.897 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.1495, allocations: 27.75 kB / 0.8971 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.558e-05/0.1495, allocations: 67.73 kB / 0.8971 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1496, allocations: 7.938 kB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1496, allocations: 0 / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1496, allocations: 0 / 0.8971 GB, free: 67.1 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.0003055/0.1499, allocations: 371.3 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1499, allocations: 8.031 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.15, allocations: 38.75 kB / 0.8975 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.15, allocations: 16.75 kB / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1501, allocations: 197.5 kB / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1502, allocations: 8.375 kB / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1502, allocations: 4.375 kB / 0.8977 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.1503, allocations: 99.2 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1503, allocations: 3.938 kB / 0.8978 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1503, allocations: 7.984 kB / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1503, allocations: 0 / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.1504, allocations: 39.98 kB / 0.8979 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.1508, allocations: 448.5 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/0.1509, allocations: 37.16 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.1509, allocations: 21.84 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.1509, allocations: 0 / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.1509, allocations: 34.59 kB / 0.8984 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1509, allocations: 0 / 0.8984 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001543/0.1511, allocations: 57.48 kB / 0.8985 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.1511, allocations: 89.34 kB / 0.8986 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1512, allocations: 170.2 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.1512, allocations: 25.7 kB / 0.8987 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.1513, allocations: 111.9 kB / 0.8988 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-06/0.1513, allocations: 7.844 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.1513, allocations: 13.72 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.1514, allocations: 322.8 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.1514, allocations: 8 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.1514, allocations: 17.72 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.1515, allocations: 37.64 kB / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1515, allocations: 0 / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.379e-05/0.1515, allocations: 57.61 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1515, allocations: 7.938 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1516, allocations: 3.938 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1516, allocations: 0 / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.1516, allocations: 15.92 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1516, allocations: 4.062 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.1517, allocations: 7.938 kB / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.1517, allocations: 4 kB / 0.8993 GB, free: 64.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.1518, allocations: 113.8 kB / 0.8994 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.1518, allocations: 15.75 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.1518, allocations: 12.55 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1518, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1518, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1519, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.1521, allocations: 482.8 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1521, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.1522, allocations: 4 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1522, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.1522, allocations: 7.984 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1522, allocations: 4 kB / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1522, allocations: 0 / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.72e-05/0.1522, allocations: 85.84 kB / 0.9 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.1523, allocations: 89 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1523, allocations: 4.094 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.1523, allocations: 0 / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.1523, allocations: 3.984 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.1524, allocations: 0 / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.1524, allocations: 132.9 kB / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1524, allocations: 0 / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001645/0.1526, allocations: 8 kB / 0.9002 GB, free: 63.53 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 (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.0002174/0.1528, allocations: 0.6248 MB / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.292e-05/0.1529, allocations: 19.98 kB / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1529, allocations: 0 / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.1529, allocations: 15.88 kB / 0.9009 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.153, allocations: 8 kB / 0.9009 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.1538, allocations: 1.392 MB / 0.9023 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.428e-05/0.1539, allocations: 0.6926 MB / 0.9029 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.154, allocations: 12.42 kB / 0.9029 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.154, allocations: 27.42 kB / 0.903 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.154, allocations: 3.938 kB / 0.903 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08504/0.2391, allocations: 1.473 MB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.2392, allocations: 224.3 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.712, allocations: 0 / 0.9046 GB, free: 59.02 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)