Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001338/0.001338, allocations: 104.1 kB / 16.4 MB, free: 6.496 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.001387/0.001387, allocations: 192.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 297.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9049/0.9049, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 100.2 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4152, allocations: 86.98 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002104/0.4173, allocations: 1.241 MB / 0.7683 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008954/0.4182, allocations: 0.5856 MB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.4183, allocations: 0 / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.4183, allocations: 7.938 kB / 0.7688 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.4183, allocations: 4 kB / 0.7688 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.4189, allocations: 141.4 kB / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.548e-05/0.4189, allocations: 11.88 kB / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.419, allocations: 3.984 kB / 0.769 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.419, allocations: 4 kB / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.419, allocations: 0 / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.238e-06/0.4191, allocations: 0 / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.4195, allocations: 351.3 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.597e-06/0.4196, allocations: 3.938 kB / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.4196, allocations: 11.94 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.4198, allocations: 127.5 kB / 0.7695 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4198, allocations: 0 / 0.7695 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4198, allocations: 4 kB / 0.7695 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.4199, allocations: 0 / 0.7695 GB, free: 1.402 MB / 0.5294 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.0003583/0.4202, allocations: 357.9 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.4203, allocations: 8.031 kB / 0.7698 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.4203, allocations: 0.9375 kB / 0.7698 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.4204, allocations: 172.3 kB / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.4204, allocations: 4.375 kB / 0.77 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4204, allocations: 4.359 kB / 0.77 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.4205, allocations: 34.27 kB / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4205, allocations: 192 / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4205, allocations: 3.938 kB / 0.77 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.4206, allocations: 0 / 0.77 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.4206, allocations: 4 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.4207, allocations: 153.7 kB / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.665e-05/0.4208, allocations: 26.55 kB / 0.7702 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.4208, allocations: 4.859 kB / 0.7702 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.4208, allocations: 8.047 kB / 0.7702 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4209, allocations: 38.56 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4209, allocations: 0 / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001187/0.421, allocations: 45.67 kB / 0.7703 GB, free: 396 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.421, allocations: 51.41 kB / 0.7703 GB, free: 332 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.4211, allocations: 101.8 kB / 0.7704 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.4211, allocations: 25.7 kB / 0.7705 GB, free: 188 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.4211, allocations: 80.14 kB / 0.7705 GB, free: 104 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.4212, allocations: 11.84 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.4212, allocations: 13.72 kB / 0.7706 GB, free: 72 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4213, allocations: 311 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.4213, allocations: 8 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.4213, allocations: 0 / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.4214, allocations: 20.84 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4214, allocations: 0 / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.235e-05/0.4215, allocations: 37.64 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4215, allocations: 4 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4215, allocations: 7.875 kB / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.4215, allocations: 0 / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4216, allocations: 16.08 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003288/0.422, allocations: 0.5782 MB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.422, allocations: 4.031 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.422, allocations: 7.938 kB / 0.7715 GB, free: 15.04 MB / 0.545 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.295e-05/0.4221, allocations: 112.2 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.4221, allocations: 4.094 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.4222, allocations: 52.75 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4222, allocations: 0 / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4222, allocations: 0 / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4222, allocations: 0 / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.4223, allocations: 161.5 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4223, allocations: 0 / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.4224, allocations: 11.98 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4224, allocations: 0 / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.4224, allocations: 4 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000286/0.4227, allocations: 0.5822 MB / 0.7724 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4227, allocations: 7.875 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.381e-05/0.4228, allocations: 61.16 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.4228, allocations: 81.11 kB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.4229, allocations: 128 / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.454e-05/0.4229, allocations: 4 kB / 0.7726 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.4229, allocations: 3.938 kB / 0.7726 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.4229, allocations: 0 / 0.7726 GB, free: 13.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.686e-05/0.4229, allocations: 79.28 kB / 0.7727 GB, free: 13.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4229, allocations: 0 / 0.7727 GB, free: 13.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001843/0.4231, allocations: 8 kB / 0.7727 GB, free: 13.76 MB / 0.545 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.0001482/0.4233, allocations: 115.2 kB / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.4234, allocations: 24.02 kB / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4235, allocations: 0 / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.4235, allocations: 15.98 kB / 0.7728 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.4237, allocations: 1.75 kB / 0.7728 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.424, allocations: 139.7 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.4242, allocations: 0.6729 MB / 0.7736 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.4243, allocations: 15.44 kB / 0.7736 GB, free: 12.71 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4243, allocations: 0 / 0.7736 GB, free: 12.71 MB / 0.545 GB Notification: Performance of Templates: time 0.002063/0.4263, allocations: 0.7126 MB / 0.7743 GB, free: 12 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)