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.001127/0.001127, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 195.5 kB / 16.64 MB, free: 6.453 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.476/1.476, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.78/1.78, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002282/0.002282, allocations: 67.11 kB / 0.6723 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2544, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00254/0.257, allocations: 1.252 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.258, allocations: 0.5799 MB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.258, allocations: 0 / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.2581, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.08e-05/0.2581, allocations: 11.88 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.2586, allocations: 142 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.185e-05/0.2587, allocations: 7.984 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.2587, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.2588, allocations: 7.984 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.2588, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.2588, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.2593, allocations: 351.3 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.2594, allocations: 3.938 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.2594, allocations: 8 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.2597, allocations: 135.6 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2597, allocations: 4 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2597, allocations: 3.938 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2597, allocations: 0 / 0.7866 GB, free: 10.25 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.0004594/0.2602, allocations: 347.5 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2602, allocations: 8.031 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.2603, allocations: 8.844 kB / 0.7869 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.2604, allocations: 172.4 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2604, allocations: 384 / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.2604, allocations: 384 / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.244e-05/0.2605, allocations: 38.2 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2605, allocations: 192 / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2605, allocations: 3.938 kB / 0.7871 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2605, allocations: 0 / 0.7871 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.2606, allocations: 4 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.2607, allocations: 153.7 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.973e-05/0.2608, allocations: 22.61 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.2608, allocations: 8.844 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2608, allocations: 8 kB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.2609, allocations: 42.55 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2609, allocations: 0 / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.261, allocations: 37.77 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.2611, allocations: 55.41 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.2612, allocations: 97.86 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2612, allocations: 29.69 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.2612, allocations: 80.14 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2612, allocations: 7.906 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.2613, allocations: 13.72 kB / 0.7877 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2614, allocations: 310.8 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.2614, allocations: 8.125 kB / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.2614, allocations: 7.875 kB / 0.788 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.2615, allocations: 16.86 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2615, allocations: 3.984 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.657e-05/0.2615, allocations: 33.7 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2616, allocations: 4 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2616, allocations: 3.938 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2616, allocations: 0 / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2617, allocations: 12.08 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004523/0.2622, allocations: 0.5899 MB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.2622, allocations: 4 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.2622, allocations: 0 / 0.7886 GB, free: 7.898 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 7.681e-05/0.2623, allocations: 113.3 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.2623, allocations: 7.906 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.2625, allocations: 48.91 kB / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2625, allocations: 3.938 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2625, allocations: 0 / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2625, allocations: 0 / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.2626, allocations: 161.5 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2626, allocations: 0 / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.2627, allocations: 15.98 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2627, allocations: 0 / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.2627, allocations: 0 / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000298/0.263, allocations: 0.5822 MB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.263, allocations: 3.938 kB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.795e-05/0.2631, allocations: 73.09 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.2631, allocations: 77.11 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-06/0.2632, allocations: 0 / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.2632, allocations: 4.125 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.2632, allocations: 3.938 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.2632, allocations: 4 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.2632, allocations: 75.28 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2632, allocations: 0 / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001932/0.2634, allocations: 15.94 kB / 0.7898 GB, free: 6.594 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.0001642/0.2636, allocations: 111.2 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.2638, allocations: 24.02 kB / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2638, allocations: 0 / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.2639, allocations: 19.92 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.2641, allocations: 0 / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.2644, allocations: 106 kB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.2647, allocations: 0.6691 MB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.476e-05/0.2647, allocations: 4 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.2647, allocations: 11.44 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2647, allocations: 0 / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.002369/0.2671, allocations: 449.4 kB / 0.7911 GB, free: 5.164 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)