Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.827/2.827, allocations: 287.5 MB / 302.4 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001335, allocations: 174.8 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009382/0.0009373, allocations: 89.53 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005342/0.0005345, allocations: 15.88 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2353, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001484/0.2368, allocations: 0.5288 MB / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001785/0.237, allocations: 51.7 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.2371, allocations: 0 / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.2372, allocations: 3.938 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2373, allocations: 7.938 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.328e-05/0.2374, allocations: 15.98 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.2376, allocations: 59.84 kB / 0.9791 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2378, allocations: 37.55 kB / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.2379, allocations: 19.88 kB / 0.9792 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.238, allocations: 23.8 kB / 0.9792 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.238, allocations: 0 / 0.9792 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.238, allocations: 7.938 kB / 0.9792 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.2381, allocations: 11.92 kB / 0.9792 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.2381, allocations: 37.64 kB / 0.9792 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.2383, allocations: 64.08 kB / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2383, allocations: 0 / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2383, allocations: 0 / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2383, allocations: 0 / 0.9793 GB, free: 27.41 MB / 0.6198 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.0005147/0.2389, allocations: 375 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.2389, allocations: 12.02 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.239, allocations: 46.55 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.2391, allocations: 11.91 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2394, allocations: 204.5 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2394, allocations: 4 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.2394, allocations: 8 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.2397, allocations: 93.72 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2397, allocations: 0 / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.2398, allocations: 4 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.2398, allocations: 0 / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.24, allocations: 43.92 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.2409, allocations: 452.5 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.88e-05/0.241, allocations: 41.34 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.2411, allocations: 17.78 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2411, allocations: 0 / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2411, allocations: 34.56 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.515e-06/0.2411, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003161/0.2415, allocations: 57.53 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.2415, allocations: 77.36 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.2418, allocations: 173 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2418, allocations: 25.7 kB / 0.9809 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.2419, allocations: 111.9 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.2419, allocations: 4 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.242, allocations: 0 / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.2421, allocations: 318.8 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.2421, allocations: 11.94 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.269e-05/0.2422, allocations: 25.7 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.586e-05/0.2423, allocations: 11.94 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2423, allocations: 3.953 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001851/0.2425, allocations: 65.45 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2425, allocations: 4 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2426, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2426, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.2427, allocations: 11.98 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2428, allocations: 0 / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.2429, allocations: 4.062 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2429, allocations: 4 kB / 0.9815 GB, free: 24.94 MB / 0.6198 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 0.0001115/0.243, allocations: 115.2 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.2431, allocations: 11.86 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.2432, allocations: 16.55 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2432, allocations: 0 / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2432, allocations: 0 / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2432, allocations: 0 / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.2439, allocations: 494.6 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.244, allocations: 0 / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.244, allocations: 4 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.2441, allocations: 3.984 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2441, allocations: 4 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.2441, allocations: 4 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2441, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.2443, allocations: 81.86 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.18e-05/0.2444, allocations: 93 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.2444, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.2445, allocations: 4 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.2445, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2446, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001479/0.2447, allocations: 132.2 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/0.2447, allocations: 4.031 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004494/0.2452, allocations: 8 kB / 0.9824 GB, free: 23.88 MB / 0.6198 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.0004583/0.2457, allocations: 0.617 MB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2458, allocations: 24.02 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2459, allocations: 0 / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.2459, allocations: 11.94 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2463, allocations: 15.88 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2478, allocations: 0.5824 MB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.2481, allocations: 0.7004 MB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.952e-05/0.2482, allocations: 4.438 kB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.2483, allocations: 27.42 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.963e-06/0.2483, allocations: 0 / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.2721, allocations: 1.593 MB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.2725, allocations: 200.1 kB / 0.9861 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/2.841, allocations: 0 / 0.9861 GB, free: 20.1 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)