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_gal.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_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.45/1.45, allocations: 252 MB / 267 MB, free: 10.98 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.001139/0.001139, allocations: 174.3 kB / 326.6 MB, free: 2.227 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.991/1.991, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0009196/0.0009196, allocations: 91.38 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 10.47 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2127, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00115/0.2139, allocations: 0.55 MB / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001524/0.2141, allocations: 47.7 kB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.2142, allocations: 0 / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.2142, allocations: 7.938 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2143, allocations: 3.938 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.264e-05/0.2144, allocations: 15.98 kB / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2145, allocations: 63.84 kB / 0.901 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.2146, allocations: 29.56 kB / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.2147, allocations: 23.86 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.2148, allocations: 19.8 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.2148, allocations: 4 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.2148, allocations: 4 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.2149, allocations: 15.92 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2149, allocations: 37.64 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.215, allocations: 55.88 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.215, allocations: 0 / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.215, allocations: 0 / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.215, allocations: 0 / 0.9012 GB, free: 62.93 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.0004156/0.2155, allocations: 363.4 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.2155, allocations: 16.03 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.2156, allocations: 42.48 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.2156, allocations: 15.81 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.2158, allocations: 203.9 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2159, allocations: 4 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2159, allocations: 12 kB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.2161, allocations: 95.28 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2161, allocations: 0 / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2161, allocations: 0 / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2161, allocations: 12 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.2163, allocations: 39.92 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.2169, allocations: 440.6 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.2169, allocations: 49.28 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.217, allocations: 13.84 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.217, allocations: 3.938 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.217, allocations: 30.56 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.217, allocations: 4 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002138/0.2173, allocations: 61.66 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2173, allocations: 85.14 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.2175, allocations: 162.2 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2175, allocations: 29.7 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.2176, allocations: 104 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.2176, allocations: 7.906 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.2176, allocations: 0 / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.2176, allocations: 326.8 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.2177, allocations: 4 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.2177, allocations: 25.7 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.2177, allocations: 8 kB / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2178, allocations: 3.953 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.942e-05/0.2179, allocations: 61.55 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2179, allocations: 4 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2179, allocations: 4 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2179, allocations: 0 / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.218, allocations: 12.05 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.218, allocations: 0 / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.2181, allocations: 11.84 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.2181, allocations: 3.938 kB / 0.9033 GB, free: 60.45 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.153e-05/0.2182, allocations: 113.8 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.2182, allocations: 11.86 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.2183, allocations: 16.55 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2183, allocations: 0 / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2183, allocations: 4 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2183, allocations: 4 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.2187, allocations: 474.8 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2187, allocations: 4 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.2187, allocations: 0 / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2187, allocations: 7.984 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2187, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2188, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2188, allocations: 4.062 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.19e-05/0.2189, allocations: 85.8 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.2189, allocations: 96.91 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.2189, allocations: 0 / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.219, allocations: 0 / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.219, allocations: 0 / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.219, allocations: 8.031 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.207e-05/0.2191, allocations: 124.8 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2191, allocations: 0 / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003036/0.2194, allocations: 12 kB / 0.9042 GB, free: 59.4 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.0002985/0.2198, allocations: 0.621 MB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.956e-05/0.2199, allocations: 19.98 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2199, allocations: 0 / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.2199, allocations: 7.938 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.2201, allocations: 8 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.2211, allocations: 0.5986 MB / 0.9055 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.2213, allocations: 0.7005 MB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.2213, allocations: 4.438 kB / 0.9062 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.2214, allocations: 27.42 kB / 0.9062 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2214, allocations: 0 / 0.9062 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.2352, allocations: 1.608 MB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.2355, allocations: 203.8 kB / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/1.757, allocations: 0 / 0.908 GB, free: 55.63 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)