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.001086/0.001086, allocations: 109.1 kB / 16.42 MB, free: 6.461 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.001122/0.001122, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 289.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9271/0.9271, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 99.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3874, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002104/0.3895, allocations: 1.248 MB / 0.7683 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.3904, allocations: 0.5894 MB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.3905, allocations: 0 / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.3905, allocations: 7.938 kB / 0.7689 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.262e-05/0.3906, allocations: 0 / 0.7689 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.3911, allocations: 135.4 kB / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.826e-05/0.3911, allocations: 15.86 kB / 0.769 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.3912, allocations: 8 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.3912, allocations: 0 / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.3912, allocations: 4 kB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.3913, allocations: 0 / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.3917, allocations: 351.3 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.3918, allocations: 0 / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.3918, allocations: 3.938 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.392, allocations: 139.5 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.392, allocations: 0 / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3921, allocations: 3.938 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3921, allocations: 3.938 kB / 0.7695 GB, free: 1.445 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.0003383/0.3924, allocations: 354 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3925, allocations: 12.03 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.3925, allocations: 0.9375 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.3926, allocations: 172.3 kB / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.3926, allocations: 384 / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.3926, allocations: 384 / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.3927, allocations: 30.27 kB / 0.77 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.3927, allocations: 192 / 0.77 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3927, allocations: 7.922 kB / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3927, allocations: 0 / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/0.3928, allocations: 4 kB / 0.77 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.3929, allocations: 153.7 kB / 0.7702 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.393, allocations: 30.53 kB / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.393, allocations: 8.922 kB / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.393, allocations: 0 / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3931, allocations: 30.56 kB / 0.7703 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3931, allocations: 0 / 0.7703 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001227/0.3932, allocations: 49.58 kB / 0.7703 GB, free: 452 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.3932, allocations: 55.53 kB / 0.7704 GB, free: 384 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.3933, allocations: 97.84 kB / 0.7704 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.3933, allocations: 25.7 kB / 0.7705 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.3933, allocations: 84.14 kB / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3934, allocations: 7.844 kB / 0.7706 GB, free: 148 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.3934, allocations: 13.72 kB / 0.7706 GB, free: 128 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3935, allocations: 310.8 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.3935, allocations: 16.05 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.3936, allocations: 4 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.3936, allocations: 8.859 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3936, allocations: 0 / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.026e-05/0.3937, allocations: 45.58 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3937, allocations: 8 kB / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3937, allocations: 0 / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3937, allocations: 3.938 kB / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3938, allocations: 11.98 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000328/0.3942, allocations: 0.5822 MB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.3942, allocations: 0 / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3942, allocations: 0 / 0.7715 GB, free: 15.1 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.512e-05/0.3943, allocations: 113.8 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.3943, allocations: 3.984 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.197e-05/0.3944, allocations: 48.86 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3944, allocations: 0 / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3944, allocations: 0 / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.3945, allocations: 89 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.3945, allocations: 4 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.675e-05/0.3945, allocations: 4 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.3945, allocations: 3.938 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001645/0.3947, allocations: 133.9 kB / 0.7719 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001257/0.3948, allocations: 214.8 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.747e-05/0.3949, allocations: 4.031 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.3949, allocations: 79.28 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of Backend: time 3.1e-07/0.3949, allocations: 0 / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.3954, allocations: 156.7 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004129/0.3959, allocations: 0.5539 MB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of Templates: time 0.003156/0.399, allocations: 1.115 MB / 0.774 GB, free: 12.51 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)