Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.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.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure",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.793/2.793, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001507/0.001506, allocations: 182.1 kB / 371 MB, free: 10.87 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.222/2.222, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001007/0.001006, allocations: 89.58 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006911/0.0006914, allocations: 11.31 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2467, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.9537/1.201, allocations: 154 MB / 1.129 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01298/1.214, allocations: 6.776 MB / 1.135 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007159/1.214, allocations: 10.31 kB / 1.135 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009939/1.215, allocations: 142.2 kB / 1.136 GB, free: 15.33 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002334/1.218, allocations: 456 kB / 1.136 GB, free: 15.13 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/1.22, allocations: 348.6 kB / 1.136 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001911/1.222, allocations: 0.8566 MB / 1.137 GB, free: 14.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006742/1.222, allocations: 197.9 kB / 1.137 GB, free: 14.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/1.224, allocations: 313 kB / 1.138 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005523/1.224, allocations: 206.6 kB / 1.138 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.217e-05/1.224, allocations: 14.05 kB / 1.138 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/1.226, allocations: 0.5255 MB / 1.138 GB, free: 14.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/1.227, allocations: 101.2 kB / 1.138 GB, free: 14.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/1.227, allocations: 85.11 kB / 1.139 GB, free: 14.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/1.228, allocations: 392 kB / 1.139 GB, free: 14.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/1.228, allocations: 0 / 1.139 GB, free: 14.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/1.228, allocations: 0 / 1.139 GB, free: 14.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.228, allocations: 0 / 1.139 GB, free: 14.54 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001352/1.23, allocations: 0.5919 MB / 1.14 GB, free: 14.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.23, allocations: 9.219 kB / 1.14 GB, free: 14.06 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/1.23, allocations: 58.41 kB / 1.14 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005232/1.23, allocations: 60.06 kB / 1.14 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/1.231, allocations: 300.5 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/1.231, allocations: 20.92 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/1.231, allocations: 21.66 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/1.232, allocations: 305.9 kB / 1.14 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/1.232, allocations: 0 / 1.14 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/1.232, allocations: 13.27 kB / 1.14 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/1.232, allocations: 9.953 kB / 1.14 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/1.233, allocations: 187.3 kB / 1.14 GB, free: 13.61 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/1.235, allocations: 1.703 MB / 1.142 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/1.236, allocations: 90.7 kB / 1.142 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/1.236, allocations: 91.34 kB / 1.142 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/1.237, allocations: 191.4 kB / 1.142 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.237, allocations: 30.56 kB / 1.142 GB, free: 12.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 3.106e-06/1.237, allocations: 7.312 kB / 1.143 GB, free: 12.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001144/1.238, allocations: 241.3 kB / 1.143 GB, free: 11.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/1.238, allocations: 51.41 kB / 1.143 GB, free: 11.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/1.239, allocations: 318.9 kB / 1.143 GB, free: 11.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/1.239, allocations: 31.27 kB / 1.143 GB, free: 11.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/1.239, allocations: 202.9 kB / 1.143 GB, free: 11.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/1.239, allocations: 37.66 kB / 1.143 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/1.239, allocations: 4.531 kB / 1.143 GB, free: 11.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.239, allocations: 341.1 kB / 1.144 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/1.239, allocations: 59.84 kB / 1.144 GB, free: 11.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/1.24, allocations: 198.7 kB / 1.144 GB, free: 11.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/1.24, allocations: 92.42 kB / 1.144 GB, free: 11.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.24, allocations: 1.562 kB / 1.144 GB, free: 11.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008711/1.241, allocations: 258.2 kB / 1.144 GB, free: 11.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/1.241, allocations: 197.4 kB / 1.144 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.241, allocations: 3.562 kB / 1.144 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/1.241, allocations: 6 kB / 1.144 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/1.242, allocations: 52.66 kB / 1.145 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.242, allocations: 5.094 kB / 1.145 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/1.242, allocations: 42.28 kB / 1.145 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/1.242, allocations: 18.77 kB / 1.145 GB, free: 10.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.242, allocations: 4 kB / 1.145 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007111/1.243, allocations: 208 kB / 1.145 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.243, allocations: 7.094 kB / 1.145 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.243, allocations: 10.17 kB / 1.145 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/1.244, allocations: 48.67 kB / 1.145 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.244, allocations: 4.438 kB / 1.145 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/1.244, allocations: 36.36 kB / 1.145 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/1.244, allocations: 13.69 kB / 1.145 GB, free: 10.74 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0003465/1.244, allocations: 233.4 kB / 1.145 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/1.245, allocations: 28.16 kB / 1.145 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000685/1.245, allocations: 182 kB / 1.145 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.245, allocations: 5.312 kB / 1.145 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.245, allocations: 0 / 1.145 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.245, allocations: 4.047 kB / 1.145 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/1.247, allocations: 0.6144 MB / 1.146 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.247, allocations: 1.188 kB / 1.146 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/1.247, allocations: 32.47 kB / 1.146 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/1.247, allocations: 7.281 kB / 1.146 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/1.247, allocations: 5.562 kB / 1.146 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.247, allocations: 6.5 kB / 1.146 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.247, allocations: 2.625 kB / 1.146 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007381/1.248, allocations: 315.4 kB / 1.146 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/1.248, allocations: 115.8 kB / 1.146 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/1.248, allocations: 7.781 kB / 1.146 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/1.249, allocations: 15.05 kB / 1.146 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/1.249, allocations: 15.45 kB / 1.146 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.249, allocations: 4 kB / 1.146 GB, free: 9.762 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000396/1.249, allocations: 224.7 kB / 1.147 GB, free: 9.684 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.249, allocations: 4 kB / 1.147 GB, free: 9.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001002/1.25, allocations: 137.8 kB / 1.147 GB, free: 9.664 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (11): * Single equations (assignments): 11 * 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.00157/1.252, allocations: 0.9004 MB / 1.148 GB, free: 8.914 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001097/1.253, allocations: 262.4 kB / 1.148 GB, free: 8.883 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.253, allocations: 0 / 1.148 GB, free: 8.883 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/1.253, allocations: 65.98 kB / 1.148 GB, free: 8.879 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.255, allocations: 139.5 kB / 1.148 GB, free: 8.867 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/1.259, allocations: 1.646 MB / 1.15 GB, free: 8.066 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/1.26, allocations: 0.7821 MB / 1.15 GB, free: 7.352 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006116/1.261, allocations: 90.27 kB / 1.151 GB, free: 7.309 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/1.261, allocations: 92.05 kB / 1.151 GB, free: 7.293 MB / 0.698 GB Notification: Performance of SimCode: time 1.322e-06/1.261, allocations: 0 / 1.151 GB, free: 7.293 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04542/1.306, allocations: 7.511 MB / 1.158 GB, free: 3.684 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003949/1.307, allocations: 217.2 kB / 1.158 GB, free: 3.445 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/4.251, allocations: 2.25 kB / 1.158 GB, free: 3.445 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)