Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.0008282, allocations: 90.31 kB / 16.67 MB, free: 6.594 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.001062/0.001063, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.352/1.352, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.713/0.713, allocations: 115.5 MB / 408.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005762/0.0005761, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4219, allocations: 77.51 MB / 0.5606 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001321/0.4233, allocations: 0.9901 MB / 0.5616 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009554/0.4242, allocations: 0.6098 MB / 0.5621 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.4243, allocations: 0 / 0.5621 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.4243, allocations: 1.25 kB / 0.5621 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.4243, allocations: 5.969 kB / 0.5622 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.4248, allocations: 126.1 kB / 0.5623 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.807e-05/0.4248, allocations: 23.14 kB / 0.5623 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.4249, allocations: 3.625 kB / 0.5623 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.4249, allocations: 5.219 kB / 0.5623 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.649e-05/0.425, allocations: 13.8 kB / 0.5623 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.425, allocations: 2.938 kB / 0.5623 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004941/0.4255, allocations: 344.2 kB / 0.5627 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.4255, allocations: 1.688 kB / 0.5627 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.4255, allocations: 38.16 kB / 0.5627 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.4257, allocations: 97.03 kB / 0.5628 GB, free: 34.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4257, allocations: 1.188 kB / 0.5628 GB, free: 34.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4257, allocations: 2.234 kB / 0.5628 GB, free: 34.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.4257, allocations: 0 / 0.5628 GB, free: 34.11 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003154/0.4261, allocations: 352.5 kB / 0.5631 GB, free: 33.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4261, allocations: 13.06 kB / 0.5631 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.4262, allocations: 4.281 kB / 0.5631 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.845e-05/0.4262, allocations: 169.2 kB / 0.5633 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4263, allocations: 4.906 kB / 0.5633 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.4263, allocations: 3.594 kB / 0.5633 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.4264, allocations: 42.03 kB / 0.5633 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4264, allocations: 5.625 kB / 0.5634 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4264, allocations: 5.125 kB / 0.5634 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4264, allocations: 0 / 0.5634 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.4265, allocations: 16.59 kB / 0.5634 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.4266, allocations: 159.2 kB / 0.5635 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.4268, allocations: 46.69 kB / 0.5636 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.4269, allocations: 16.44 kB / 0.5636 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4269, allocations: 1.562 kB / 0.5636 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.4269, allocations: 42.09 kB / 0.5636 GB, free: 33.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4269, allocations: 1.188 kB / 0.5636 GB, free: 33.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005653/0.4275, allocations: 302.3 kB / 0.5639 GB, free: 32.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.4275, allocations: 56.59 kB / 0.564 GB, free: 32.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.73e-05/0.4276, allocations: 97.77 kB / 0.5641 GB, free: 32.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.4276, allocations: 25.7 kB / 0.5641 GB, free: 32.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.689e-05/0.4276, allocations: 86.67 kB / 0.5642 GB, free: 32.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.4277, allocations: 18.41 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.4277, allocations: 16.09 kB / 0.5642 GB, free: 32.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.4277, allocations: 313.9 kB / 0.5645 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.4278, allocations: 18.28 kB / 0.5645 GB, free: 32.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.4278, allocations: 11.97 kB / 0.5645 GB, free: 32.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.4279, allocations: 33.83 kB / 0.5646 GB, free: 32.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4279, allocations: 0 / 0.5646 GB, free: 32.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.056e-05/0.428, allocations: 68.86 kB / 0.5646 GB, free: 32.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.428, allocations: 9.188 kB / 0.5646 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.428, allocations: 0.8125 kB / 0.5646 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.428, allocations: 1.406 kB / 0.5646 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.4281, allocations: 16.3 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4281, allocations: 1.406 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.4281, allocations: 0 / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.4281, allocations: 2.781 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.4282, allocations: 114 kB / 0.5648 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.4282, allocations: 14.78 kB / 0.5648 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.4283, allocations: 72.88 kB / 0.5649 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4284, allocations: 1.094 kB / 0.5649 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4284, allocations: 4.766 kB / 0.5649 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4284, allocations: 0 / 0.5649 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.4286, allocations: 317.3 kB / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4286, allocations: 0 / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.4287, allocations: 11.83 kB / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4287, allocations: 2.062 kB / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4287, allocations: 5.938 kB / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4287, allocations: 0.5 kB / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4287, allocations: 2.859 kB / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.4289, allocations: 182.1 kB / 0.5654 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.4289, allocations: 85.08 kB / 0.5654 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.429, allocations: 3.484 kB / 0.5654 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.429, allocations: 2.312 kB / 0.5654 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.4291, allocations: 4.047 kB / 0.5654 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.4291, allocations: 7.375 kB / 0.5655 GB, free: 31.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.102e-05/0.4291, allocations: 83.12 kB / 0.5655 GB, free: 31.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4291, allocations: 0 / 0.5655 GB, free: 31.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.4293, allocations: 20.14 kB / 0.5656 GB, free: 31.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.4295, allocations: 120.9 kB / 0.5657 GB, free: 31.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.4296, allocations: 36.48 kB / 0.5657 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4296, allocations: 1 kB / 0.5657 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.4297, allocations: 17.17 kB / 0.5657 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.4299, allocations: 12.23 kB / 0.5657 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.4303, allocations: 254.2 kB / 0.566 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.4304, allocations: 0.6803 MB / 0.5666 GB, free: 30.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.4305, allocations: 19.31 kB / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4305, allocations: 1.031 kB / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002457/0.4329, allocations: 0.7728 MB / 0.5674 GB, free: 30.31 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)