Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005504/0.0005505, allocations: 16.53 kB / 0.6738 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2448, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.0009441/0.2457, allocations: 0.5402 MB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000108/0.2459, allocations: 47.78 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.2459, allocations: 4 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.2461, allocations: 7.922 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.2461, allocations: 3.938 kB / 0.788 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.109e-05/0.2462, allocations: 15.98 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.213e-05/0.2463, allocations: 63.78 kB / 0.7881 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2464, allocations: 33.58 kB / 0.7881 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.99e-05/0.2465, allocations: 15.86 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.2465, allocations: 23.86 kB / 0.7881 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2465, allocations: 0 / 0.7881 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.2465, allocations: 4 kB / 0.7881 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.2466, allocations: 11.92 kB / 0.7882 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.2466, allocations: 37.64 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.392e-05/0.2467, allocations: 60.09 kB / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2467, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2468, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2468, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.6075 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.0005763/0.2473, allocations: 383 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2474, allocations: 8.031 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.2474, allocations: 42.5 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.2475, allocations: 11.84 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.2477, allocations: 202.8 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2477, allocations: 12 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.2478, allocations: 4 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.2479, allocations: 87.39 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2479, allocations: 3.938 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.248, allocations: 15.97 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.248, allocations: 0 / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.2481, allocations: 35.98 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.2487, allocations: 452.6 kB / 0.7894 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.2488, allocations: 41.23 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.2488, allocations: 18.78 kB / 0.7895 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2488, allocations: 4 kB / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2489, allocations: 38.5 kB / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2489, allocations: 0 / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000171/0.2491, allocations: 53.61 kB / 0.7896 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2491, allocations: 85.03 kB / 0.7897 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.2493, allocations: 167.3 kB / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.2493, allocations: 29.95 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.2494, allocations: 111.9 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.2494, allocations: 3.906 kB / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.2494, allocations: 0 / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2495, allocations: 322.8 kB / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.2495, allocations: 8 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.2496, allocations: 17.72 kB / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.2496, allocations: 16 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2496, allocations: 0 / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.464e-05/0.2497, allocations: 61.48 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2497, allocations: 8 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2497, allocations: 0 / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2497, allocations: 0 / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.2498, allocations: 12 kB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2498, allocations: 0 / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.2499, allocations: 3.984 kB / 0.7904 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.2499, allocations: 4.062 kB / 0.7904 GB, free: 8.465 MB / 0.6075 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 7.77e-05/0.25, allocations: 121.8 kB / 0.7905 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.25, allocations: 15.77 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.25, allocations: 12.56 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.25, allocations: 0 / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2501, allocations: 3.938 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2501, allocations: 3.938 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.2506, allocations: 482.8 kB / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2506, allocations: 0 / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.2507, allocations: 7.938 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2507, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.2507, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2507, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2507, allocations: 4 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.963e-05/0.2508, allocations: 85.91 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.2508, allocations: 89 kB / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2509, allocations: 0 / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.2509, allocations: 0 / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.2509, allocations: 4 kB / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.2509, allocations: 0 / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.296e-05/0.251, allocations: 127.9 kB / 0.7913 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.251, allocations: 0 / 0.7913 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001825/0.2512, allocations: 8 kB / 0.7913 GB, free: 7.406 MB / 0.6075 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.0004441/0.2517, allocations: 0.621 MB / 0.7919 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.2518, allocations: 19.94 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2518, allocations: 8.156 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.391e-05/0.2518, allocations: 7.984 kB / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.252, allocations: 11.23 kB / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008093/0.2528, allocations: 0.5916 MB / 0.7926 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.253, allocations: 0.6926 MB / 0.7932 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.2531, allocations: 12.42 kB / 0.7932 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.2531, allocations: 23.44 kB / 0.7933 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2532, allocations: 0 / 0.7933 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.2662, allocations: 1.594 MB / 0.7948 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/0.2666, allocations: 193.5 kB / 0.795 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.165, allocations: 3.938 kB / 0.795 GB, free: 3.609 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) Environment - environmentSimulation: