Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 90.3 kB / 16.67 MB, free: 6.598 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.001471/0.001471, allocations: 183.4 kB / 17.58 MB, free: 6.184 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.388/1.388, 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.7178/0.7178, allocations: 115.5 MB / 408.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003439, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3781, 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_m_flow_DerivativeCheck2): time 0.001481/0.3796, allocations: 1.181 MB / 0.5617 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000918/0.3806, allocations: 0.6385 MB / 0.5624 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.3806, allocations: 0.625 kB / 0.5624 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.834e-05/0.3807, allocations: 4.625 kB / 0.5624 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.3807, allocations: 1.984 kB / 0.5624 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.3812, allocations: 144.1 kB / 0.5625 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.3813, allocations: 46.67 kB / 0.5626 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.3814, allocations: 6.578 kB / 0.5626 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.3814, allocations: 30.02 kB / 0.5626 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.3815, allocations: 18.53 kB / 0.5626 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.3815, allocations: 2.75 kB / 0.5626 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.3819, allocations: 347.7 kB / 0.5629 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.382, allocations: 13.81 kB / 0.563 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.382, allocations: 55.36 kB / 0.563 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.3822, allocations: 115.2 kB / 0.5631 GB, free: 33.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3822, allocations: 3.359 kB / 0.5631 GB, free: 33.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3822, allocations: 0 / 0.5631 GB, free: 33.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.3822, allocations: 0 / 0.5631 GB, free: 33.9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004798/0.3827, allocations: 389.1 kB / 0.5635 GB, free: 33.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3828, allocations: 13.75 kB / 0.5635 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.3828, allocations: 4.969 kB / 0.5635 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.3829, allocations: 177.1 kB / 0.5637 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.3829, allocations: 3.344 kB / 0.5637 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.383, allocations: 9.375 kB / 0.5637 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.3832, allocations: 82.27 kB / 0.5638 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3832, allocations: 192 / 0.5638 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3832, allocations: 8.906 kB / 0.5638 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3833, allocations: 3.859 kB / 0.5638 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.3835, allocations: 57.12 kB / 0.5638 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.384, allocations: 328.9 kB / 0.5642 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.3843, allocations: 85.38 kB / 0.5642 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.3845, allocations: 39.86 kB / 0.5643 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3845, allocations: 2.828 kB / 0.5643 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3845, allocations: 36.98 kB / 0.5643 GB, free: 32.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3845, allocations: 3.938 kB / 0.5643 GB, free: 32.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001601/0.3861, allocations: 0.6708 MB / 0.565 GB, free: 32.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.3862, allocations: 53.39 kB / 0.565 GB, free: 32.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.3862, allocations: 105.5 kB / 0.5651 GB, free: 32.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.3862, allocations: 31.45 kB / 0.5651 GB, free: 32.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.3863, allocations: 92.17 kB / 0.5652 GB, free: 32.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3863, allocations: 40.55 kB / 0.5653 GB, free: 32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.3864, allocations: 22.25 kB / 0.5653 GB, free: 31.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.3864, allocations: 320 kB / 0.5656 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3865, allocations: 37.3 kB / 0.5656 GB, free: 31.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3867, allocations: 32.95 kB / 0.5657 GB, free: 31.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.3869, allocations: 84.77 kB / 0.5657 GB, free: 31.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.387, allocations: 3.188 kB / 0.5658 GB, free: 31.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003234/0.3873, allocations: 126.4 kB / 0.5659 GB, free: 31.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3873, allocations: 5.688 kB / 0.5659 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3873, allocations: 1.219 kB / 0.5659 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3873, allocations: 2.047 kB / 0.5659 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3875, allocations: 27.86 kB / 0.5659 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3875, allocations: 0.75 kB / 0.5659 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.3876, allocations: 15.95 kB / 0.5659 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.3876, allocations: 4.016 kB / 0.5659 GB, free: 31.56 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 (13): * Single equations (assignments): 13 * 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 6.418e-05/0.3877, allocations: 118.9 kB / 0.566 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3877, allocations: 4.281 kB / 0.566 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.3881, allocations: 140.9 kB / 0.5662 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3881, allocations: 3.781 kB / 0.5662 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3881, allocations: 0 / 0.5662 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3881, allocations: 5.328 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.3887, allocations: 385.4 kB / 0.5666 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3887, allocations: 1.562 kB / 0.5666 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.3889, allocations: 34.95 kB / 0.5666 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3889, allocations: 1.906 kB / 0.5666 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3889, allocations: 6.031 kB / 0.5666 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3889, allocations: 0.5625 kB / 0.5666 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3889, allocations: 1.891 kB / 0.5666 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.3894, allocations: 266.5 kB / 0.5669 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.3895, allocations: 83.72 kB / 0.5669 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3895, allocations: 5.719 kB / 0.5669 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.3896, allocations: 9.453 kB / 0.5669 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.3896, allocations: 10.58 kB / 0.567 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3897, allocations: 4.875 kB / 0.567 GB, free: 30.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.51e-05/0.3897, allocations: 79.84 kB / 0.567 GB, free: 30.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3897, allocations: 1.25 kB / 0.567 GB, free: 30.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.39, allocations: 39.69 kB / 0.5671 GB, free: 30.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0001919/0.3902, allocations: 139.6 kB / 0.5672 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.3906, allocations: 94.08 kB / 0.5673 GB, free: 30.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3906, allocations: 0 / 0.5673 GB, free: 30.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3907, allocations: 52.33 kB / 0.5674 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.391, allocations: 13 kB / 0.5674 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.3917, allocations: 412.3 kB / 0.5678 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.3918, allocations: 0.6982 MB / 0.5684 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.3919, allocations: 19.64 kB / 0.5685 GB, free: 29.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3919, allocations: 0 / 0.5685 GB, free: 29.54 MB / 446.1 MB Notification: Performance of Templates: time 0.003104/0.395, allocations: 1.291 MB / 0.5697 GB, free: 29.44 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)