Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 105.5 kB / 16.36 MB, free: 5.891 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.00133/0.00133, allocations: 189.9 kB / 17.29 MB, free: 5.531 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.471/1.471, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.789/1.789, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001508/0.001508, allocations: 71.89 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2682, allocations: 114.5 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002833/0.271, allocations: 1.252 MB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2722, allocations: 0.5877 MB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.2723, allocations: 0 / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.2723, allocations: 3.984 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.2724, allocations: 0 / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.273, allocations: 143.4 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.2731, allocations: 15.92 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.2732, allocations: 0 / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.2732, allocations: 7.938 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.2733, allocations: 0 / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.2733, allocations: 0 / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.2738, allocations: 347.3 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.2738, allocations: 3.984 kB / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.2739, allocations: 11.94 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.2741, allocations: 135.7 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.2741, allocations: 0 / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2741, allocations: 0 / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2741, allocations: 0 / 0.7872 GB, free: 0.625 MB / 0.6544 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.0004421/0.2746, allocations: 351.5 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2746, allocations: 12.03 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.2747, allocations: 0.9375 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2748, allocations: 168.2 kB / 0.7877 GB, free: 16 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2749, allocations: 4.375 kB / 0.7877 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.2749, allocations: 8.312 kB / 0.7877 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4357/0.7106, allocations: 31.59 kB / 0.7878 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.7107, allocations: 5.484 kB / 0.7878 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.7107, allocations: 1.219 kB / 0.7878 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.7107, allocations: 0 / 0.7878 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.917e-05/0.7108, allocations: 4.844 kB / 0.7878 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.711, allocations: 149.7 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.415e-05/0.7111, allocations: 31.55 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.7111, allocations: 8.203 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.7111, allocations: 0 / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.7112, allocations: 39.2 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7112, allocations: 0 / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001718/0.7113, allocations: 42.88 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.7114, allocations: 52.44 kB / 0.7881 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.7114, allocations: 98.58 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.7115, allocations: 25.7 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.7115, allocations: 82.02 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.7115, allocations: 6.094 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.7116, allocations: 16.14 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.7116, allocations: 316.3 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.7117, allocations: 2.625 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.7117, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.7117, allocations: 15.98 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7117, allocations: 2.625 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.632e-05/0.7118, allocations: 45 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7118, allocations: 5.25 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7118, allocations: 0 / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.7118, allocations: 0 / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.712, allocations: 10.73 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002583/0.7123, allocations: 0.5852 MB / 0.7893 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.7123, allocations: 7.844 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.7123, allocations: 0 / 0.7893 GB, free: 47.41 MB / 0.6544 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 5.401e-05/0.7124, allocations: 115.8 kB / 0.7894 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.7124, allocations: 2.5 kB / 0.7894 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.7125, allocations: 52.45 kB / 0.7894 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7125, allocations: 2.625 kB / 0.7894 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7125, allocations: 0 / 0.7894 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.7125, allocations: 5.031 kB / 0.7894 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.01e-05/0.7126, allocations: 148.7 kB / 0.7896 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7126, allocations: 0 / 0.7896 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.7127, allocations: 11.75 kB / 0.7896 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7127, allocations: 0 / 0.7896 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.7127, allocations: 4.906 kB / 0.7896 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001835/0.7129, allocations: 0.5865 MB / 0.7902 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7129, allocations: 2.625 kB / 0.7902 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.423e-05/0.713, allocations: 64.89 kB / 0.7902 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.713, allocations: 82.59 kB / 0.7903 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.713, allocations: 6.562 kB / 0.7903 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.713, allocations: 3.719 kB / 0.7903 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.7131, allocations: 2.75 kB / 0.7903 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.7131, allocations: 2.625 kB / 0.7903 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.913e-05/0.7131, allocations: 77.81 kB / 0.7904 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7131, allocations: 0 / 0.7904 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000245/0.7134, allocations: 13.62 kB / 0.7904 GB, free: 46.25 MB / 0.6544 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.0001617/0.7135, allocations: 109 kB / 0.7905 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.7137, allocations: 24.72 kB / 0.7905 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.7137, allocations: 0 / 0.7905 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.7138, allocations: 15.23 kB / 0.7905 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.714, allocations: 4.594 kB / 0.7906 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.7143, allocations: 123.1 kB / 0.7907 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.7144, allocations: 0.679 MB / 0.7913 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.438e-05/0.7145, allocations: 11.06 kB / 0.7913 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7145, allocations: 0 / 0.7913 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.002195/0.7167, allocations: 0.6937 MB / 0.792 GB, free: 45.35 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)