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.001363/0.001364, allocations: 119.4 kB / 17.09 MB, free: 5.965 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.001274/0.001274, allocations: 197.9 kB / 18.02 MB, free: 5.047 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7162/0.7162, allocations: 115.3 MB / 407.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.55 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002411/0.1466, allocations: 1.258 MB / 0.634 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1477, allocations: 0.6152 MB / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.1477, allocations: 0 / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.1477, allocations: 0 / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.905e-05/0.1478, allocations: 7.922 kB / 0.6346 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.1483, allocations: 135.4 kB / 0.6347 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.1484, allocations: 23.92 kB / 0.6347 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.1484, allocations: 0 / 0.6347 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.1484, allocations: 11.98 kB / 0.6347 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.1485, allocations: 11.92 kB / 0.6347 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1485, allocations: 0 / 0.6347 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.149, allocations: 347.3 kB / 0.6351 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.149, allocations: 4 kB / 0.6351 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.1491, allocations: 7.938 kB / 0.6351 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.1493, allocations: 143.7 kB / 0.6352 GB, free: 1.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1493, allocations: 0 / 0.6352 GB, free: 1.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1493, allocations: 3.938 kB / 0.6352 GB, free: 1.816 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1493, allocations: 0 / 0.6352 GB, free: 1.816 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.0004267/0.1498, allocations: 359.5 kB / 0.6356 GB, free: 1.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1498, allocations: 12.03 kB / 0.6356 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.1499, allocations: 4.844 kB / 0.6356 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.15, allocations: 168.4 kB / 0.6357 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.15, allocations: 8.375 kB / 0.6358 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.15, allocations: 384 / 0.6358 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1501, allocations: 42.25 kB / 0.6358 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1502, allocations: 192 / 0.6358 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1502, allocations: 3.938 kB / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1502, allocations: 0 / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.819e-05/0.1502, allocations: 12 kB / 0.6358 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.1504, allocations: 165.6 kB / 0.636 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1506, allocations: 42.55 kB / 0.636 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.1506, allocations: 20.94 kB / 0.636 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1506, allocations: 0 / 0.636 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1507, allocations: 42.5 kB / 0.6361 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1507, allocations: 0 / 0.6361 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005822/0.1513, allocations: 314.2 kB / 0.6364 GB, free: 440 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.1513, allocations: 55.34 kB / 0.6364 GB, free: 372 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.1514, allocations: 101.8 kB / 0.6365 GB, free: 260 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1514, allocations: 25.7 kB / 0.6365 GB, free: 228 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.1514, allocations: 84.14 kB / 0.6366 GB, free: 140 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1515, allocations: 15.72 kB / 0.6366 GB, free: 124 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1515, allocations: 29.7 kB / 0.6367 GB, free: 88 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1516, allocations: 310.8 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.1516, allocations: 8 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.1517, allocations: 15.98 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.49e-05/0.1517, allocations: 28.86 kB / 0.637 GB, free: 15.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1517, allocations: 0 / 0.637 GB, free: 15.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.374e-05/0.1518, allocations: 73.58 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1519, allocations: 11.88 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1519, allocations: 0.5156 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1519, allocations: 4 kB / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.1519, allocations: 15.98 kB / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1519, allocations: 0 / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.152, allocations: 0 / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.152, allocations: 4 kB / 0.6371 GB, free: 15.61 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.324e-05/0.1521, allocations: 109.8 kB / 0.6372 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.1521, allocations: 7.938 kB / 0.6372 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.1522, allocations: 81.5 kB / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1522, allocations: 4 kB / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1522, allocations: 0 / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1522, allocations: 0 / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.1526, allocations: 307.4 kB / 0.6376 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1526, allocations: 4 kB / 0.6376 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.1526, allocations: 15.94 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1526, allocations: 0 / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1527, allocations: 7.984 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1527, allocations: 192 / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1527, allocations: 32 / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.1529, allocations: 184.2 kB / 0.6378 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.1529, allocations: 89.06 kB / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1529, allocations: 0 / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.153, allocations: 4 kB / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.153, allocations: 7.875 kB / 0.6379 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1531, allocations: 8 kB / 0.6379 GB, free: 14.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.1531, allocations: 87.33 kB / 0.638 GB, free: 14.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1531, allocations: 0 / 0.638 GB, free: 14.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1533, allocations: 20 kB / 0.638 GB, free: 14.57 MB / 494.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.0001687/0.1535, allocations: 119.2 kB / 0.6381 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.62e-05/0.1536, allocations: 35.97 kB / 0.6382 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.1536, allocations: 4 kB / 0.6382 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-05/0.1537, allocations: 11.94 kB / 0.6382 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1539, allocations: 19.98 kB / 0.6382 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1543, allocations: 216.6 kB / 0.6384 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1545, allocations: 0.6846 MB / 0.6391 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.1546, allocations: 11.44 kB / 0.6391 GB, free: 13.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1546, allocations: 0 / 0.6391 GB, free: 13.41 MB / 494.1 MB Notification: Performance of Templates: time 0.002118/0.1567, allocations: 0.7998 MB / 0.6399 GB, free: 12.61 MB / 494.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)