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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002081/0.002081, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.393/1.393, allocations: 205.1 MB / 222 MB, free: 4.773 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.666/1.666, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.002115/0.002115, allocations: 64.39 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2453, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003305/0.2486, allocations: 1.313 MB / 0.784 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2499, allocations: 0.6083 MB / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.25, allocations: 0 / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.25, allocations: 0 / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.2501, allocations: 11.92 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.2508, allocations: 122.8 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.093e-05/0.2508, allocations: 4 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.2509, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.692e-05/0.2509, allocations: 11.98 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.251, allocations: 3.938 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.251, allocations: 4 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006497/0.2516, allocations: 339.4 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.2517, allocations: 4 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.2517, allocations: 3.938 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.252, allocations: 140 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2521, allocations: 3.938 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2521, allocations: 0 / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2521, allocations: 0 / 0.7852 GB, free: 11.41 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.0004498/0.2525, allocations: 351.5 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2526, allocations: 16.02 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.2526, allocations: 4.844 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2528, allocations: 168.3 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2528, allocations: 384 / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.2528, allocations: 4.375 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.241e-05/0.2529, allocations: 26.27 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2529, allocations: 4.188 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2529, allocations: 3.938 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2529, allocations: 0 / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.253, allocations: 11.97 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.2532, allocations: 145.7 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.954e-05/0.2532, allocations: 34.55 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.2533, allocations: 8.844 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2533, allocations: 0 / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2533, allocations: 34.62 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2533, allocations: 0 / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000168/0.2535, allocations: 41.64 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.2536, allocations: 55.53 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.2536, allocations: 97.84 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2537, allocations: 25.7 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.2537, allocations: 84.08 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.2538, allocations: 11.84 kB / 0.7862 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.2538, allocations: 13.72 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.254, allocations: 310.8 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.254, allocations: 4.125 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.254, allocations: 8 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.2541, allocations: 16.78 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2541, allocations: 8 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.315e-05/0.2542, allocations: 37.7 kB / 0.7866 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2542, allocations: 4 kB / 0.7866 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2542, allocations: 3.938 kB / 0.7866 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2542, allocations: 0 / 0.7866 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.2544, allocations: 15.92 kB / 0.7866 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004369/0.2549, allocations: 0.5822 MB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.2549, allocations: 0 / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.2549, allocations: 4.031 kB / 0.7872 GB, free: 9.055 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 8.205e-05/0.255, allocations: 110.4 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.255, allocations: 3.906 kB / 0.7873 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.2553, allocations: 56.83 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2553, allocations: 0 / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2553, allocations: 4 kB / 0.7874 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2553, allocations: 0 / 0.7874 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.2554, allocations: 157.6 kB / 0.7875 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2554, allocations: 0 / 0.7875 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.2556, allocations: 11.98 kB / 0.7875 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.2556, allocations: 4 kB / 0.7876 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.2556, allocations: 0 / 0.7876 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003279/0.2559, allocations: 0.5822 MB / 0.7881 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.256, allocations: 3.938 kB / 0.7881 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.587e-05/0.2561, allocations: 65.09 kB / 0.7882 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.2561, allocations: 77.11 kB / 0.7883 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2561, allocations: 4 kB / 0.7883 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.2562, allocations: 4.125 kB / 0.7883 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.2562, allocations: 3.938 kB / 0.7883 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2562, allocations: 0 / 0.7883 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.2562, allocations: 83.28 kB / 0.7884 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2562, allocations: 0 / 0.7884 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002812/0.2565, allocations: 15.92 kB / 0.7884 GB, free: 7.75 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.0001791/0.2567, allocations: 107.2 kB / 0.7885 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.2569, allocations: 20.08 kB / 0.7885 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2569, allocations: 3.938 kB / 0.7885 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.257, allocations: 19.92 kB / 0.7885 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.2573, allocations: 7.938 kB / 0.7885 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.2576, allocations: 100.3 kB / 0.7886 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.258, allocations: 0.6733 MB / 0.7893 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.2581, allocations: 7.984 kB / 0.7893 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.2581, allocations: 7.438 kB / 0.7893 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of SimCode: time 4.3e-07/0.2581, allocations: 0 / 0.7893 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.003041/0.2611, allocations: 421.3 kB / 0.7897 GB, free: 6.34 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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 & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)