Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.0006586/0.0006587, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004553/0.004554, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.563/1.563, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005242/0.0005242, allocations: 17.44 kB / 0.6744 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1735, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001101/0.1746, allocations: 0.9859 MB / 0.789 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.1755, allocations: 0.5928 MB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.088e-05/0.1755, allocations: 0 / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.048e-05/0.1755, allocations: 0 / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.262e-05/0.1755, allocations: 3.938 kB / 0.7895 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1759, allocations: 127.6 kB / 0.7897 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.008e-05/0.176, allocations: 4 kB / 0.7897 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.176, allocations: 4 kB / 0.7897 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.53e-05/0.176, allocations: 11.88 kB / 0.7897 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.231e-05/0.176, allocations: 4 kB / 0.7897 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.1761, allocations: 0 / 0.7897 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.1765, allocations: 339.4 kB / 0.79 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.1765, allocations: 3.984 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1765, allocations: 33.64 kB / 0.79 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.1767, allocations: 140 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1768, allocations: 0 / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1768, allocations: 4 kB / 0.7902 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.544e-06/0.1768, allocations: 0 / 0.7902 GB, free: 9.23 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002889/0.1771, allocations: 347.3 kB / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1771, allocations: 12.03 kB / 0.7905 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.1771, allocations: 34.75 kB / 0.7906 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.764e-05/0.1772, allocations: 0.9375 kB / 0.7906 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/0.1772, allocations: 164.3 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.1773, allocations: 4.375 kB / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.1773, allocations: 8.359 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.189e-05/0.1773, allocations: 26.27 kB / 0.7908 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1774, allocations: 3.938 kB / 0.7908 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.1774, allocations: 4 kB / 0.7908 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1774, allocations: 0 / 0.7908 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.764e-05/0.1774, allocations: 0 / 0.7908 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.1775, allocations: 153.7 kB / 0.7909 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.1776, allocations: 30.55 kB / 0.7909 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.1776, allocations: 12.91 kB / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.1776, allocations: 0 / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.1776, allocations: 30.56 kB / 0.791 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1776, allocations: 4 kB / 0.791 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001074/0.1777, allocations: 45.62 kB / 0.791 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.1778, allocations: 59.28 kB / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/0.1778, allocations: 97.98 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1779, allocations: 25.7 kB / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.1779, allocations: 84.14 kB / 0.7913 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1779, allocations: 7.891 kB / 0.7913 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.1779, allocations: 13.7 kB / 0.7913 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.178, allocations: 314.8 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.178, allocations: 0 / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-06/0.178, allocations: 4 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/0.1781, allocations: 17.05 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1781, allocations: 0 / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.975e-05/0.1781, allocations: 41.69 kB / 0.7917 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1782, allocations: 7.938 kB / 0.7917 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1782, allocations: 7.938 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/0.1782, allocations: 0 / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1783, allocations: 8 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002849/0.1786, allocations: 0.5899 MB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.1786, allocations: 0 / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.1786, allocations: 0 / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/0.1787, allocations: 114.5 kB / 0.7924 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.1787, allocations: 3.906 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.183e-05/0.1788, allocations: 48.75 kB / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1788, allocations: 4.125 kB / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1788, allocations: 0 / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1788, allocations: 0 / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.1789, allocations: 157.6 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1789, allocations: 0 / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.179, allocations: 8 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.179, allocations: 0 / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-06/0.179, allocations: 0 / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002466/0.1793, allocations: 0.5821 MB / 0.7931 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1793, allocations: 11.95 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.261e-05/0.1793, allocations: 61.08 kB / 0.7932 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.1794, allocations: 77.11 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.1794, allocations: 4 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.413e-05/0.1794, allocations: 3.984 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.1794, allocations: 8.062 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1794, allocations: 4 kB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.1795, allocations: 79.28 kB / 0.7934 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1795, allocations: 0 / 0.7934 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001749/0.1796, allocations: 15.94 kB / 0.7934 GB, free: 5.543 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000309/0.18, allocations: 0.6202 MB / 0.794 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1801, allocations: 12 kB / 0.794 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1801, allocations: 4 kB / 0.794 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.1802, allocations: 15.98 kB / 0.794 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.1803, allocations: 6.375 kB / 0.794 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.1806, allocations: 150.8 kB / 0.7942 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.1809, allocations: 0.6731 MB / 0.7948 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.164e-05/0.1809, allocations: 0 / 0.7948 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.1809, allocations: 15.42 kB / 0.7949 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.1809, allocations: 0 / 0.7949 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.14/2.321, allocations: 1.138 MB / 0.796 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/2.321, allocations: 265.2 kB / 0.7962 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/4.344, allocations: 0 / 0.7962 GB, free: 2.688 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)