Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 120.8 kB / 17.09 MB, free: 6 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.001756/0.001756, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 115.3 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 66.75 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1426, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002348/0.1449, allocations: 1.261 MB / 0.634 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1461, allocations: 0.6152 MB / 0.6346 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.1462, allocations: 0 / 0.6346 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.1462, allocations: 0 / 0.6346 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.053e-05/0.1463, allocations: 3.938 kB / 0.6346 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.1469, allocations: 147.4 kB / 0.6347 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.147, allocations: 23.86 kB / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.147, allocations: 0 / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.012e-05/0.1471, allocations: 8 kB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.1472, allocations: 11.92 kB / 0.6348 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1472, allocations: 4 kB / 0.6348 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.1477, allocations: 343.3 kB / 0.6351 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.1477, allocations: 4 kB / 0.6351 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.1477, allocations: 15.92 kB / 0.6351 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.148, allocations: 147.6 kB / 0.6352 GB, free: 1.828 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.148, allocations: 4 kB / 0.6352 GB, free: 1.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.148, allocations: 0 / 0.6352 GB, free: 1.824 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.148, allocations: 0 / 0.6352 GB, free: 1.824 MB / 478.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.0004872/0.1485, allocations: 355.5 kB / 0.6356 GB, free: 1.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1486, allocations: 8.031 kB / 0.6356 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.1486, allocations: 8.844 kB / 0.6356 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1487, allocations: 168.3 kB / 0.6358 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1488, allocations: 384 / 0.6358 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.1488, allocations: 8.359 kB / 0.6358 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1489, allocations: 46.25 kB / 0.6358 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1489, allocations: 4.188 kB / 0.6358 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.149, allocations: 3.938 kB / 0.6358 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.149, allocations: 0 / 0.6358 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.149, allocations: 8 kB / 0.6358 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.1492, allocations: 157.7 kB / 0.636 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1494, allocations: 46.55 kB / 0.636 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.1494, allocations: 28.88 kB / 0.6361 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1495, allocations: 0 / 0.6361 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1495, allocations: 30.56 kB / 0.6361 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1495, allocations: 0 / 0.6361 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006607/0.1502, allocations: 306.2 kB / 0.6364 GB, free: 464 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1502, allocations: 51.41 kB / 0.6364 GB, free: 400 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.1503, allocations: 109.8 kB / 0.6365 GB, free: 280 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1503, allocations: 25.7 kB / 0.6366 GB, free: 248 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.1504, allocations: 80.14 kB / 0.6366 GB, free: 164 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1504, allocations: 23.7 kB / 0.6366 GB, free: 140 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.1505, allocations: 17.72 kB / 0.6367 GB, free: 116 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1506, allocations: 310.8 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.1506, allocations: 15.98 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.1506, allocations: 15.94 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.1507, allocations: 36.86 kB / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1507, allocations: 3.938 kB / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001004/0.1508, allocations: 65.73 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1508, allocations: 13.66 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1508, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1509, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.1509, allocations: 11.98 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1509, allocations: 7.938 kB / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.151, allocations: 0 / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.151, allocations: 0 / 0.6371 GB, free: 15.62 MB / 494.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 7.782e-05/0.1511, allocations: 117.8 kB / 0.6372 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.1511, allocations: 4.453 kB / 0.6372 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.1512, allocations: 73.58 kB / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1512, allocations: 4 kB / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1512, allocations: 128 / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1512, allocations: 0 / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.1516, allocations: 327.3 kB / 0.6376 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1516, allocations: 0 / 0.6376 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.1516, allocations: 16.03 kB / 0.6376 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1517, allocations: 3.984 kB / 0.6376 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1517, allocations: 0 / 0.6376 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.1517, allocations: 3.938 kB / 0.6377 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1517, allocations: 7.938 kB / 0.6377 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.1519, allocations: 176.2 kB / 0.6378 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1519, allocations: 85.12 kB / 0.6379 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.152, allocations: 4.062 kB / 0.6379 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.152, allocations: 4 kB / 0.6379 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.1521, allocations: 4 kB / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1521, allocations: 3.984 kB / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.841e-05/0.1521, allocations: 83.28 kB / 0.638 GB, free: 14.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1521, allocations: 0 / 0.638 GB, free: 14.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1524, allocations: 24 kB / 0.638 GB, free: 14.58 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001841/0.1526, allocations: 119.2 kB / 0.6381 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1527, allocations: 35.98 kB / 0.6382 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1527, allocations: 0 / 0.6382 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.1527, allocations: 23.92 kB / 0.6382 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.153, allocations: 7.938 kB / 0.6382 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.1534, allocations: 218.1 kB / 0.6384 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1537, allocations: 0.6807 MB / 0.6391 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.1537, allocations: 19.42 kB / 0.6391 GB, free: 13.42 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1537, allocations: 0 / 0.6391 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Templates: time 0.002473/0.1562, allocations: 0.7925 MB / 0.6399 GB, free: 12.63 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)