Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6996/0.6996, allocations: 128.7 MB / 144.5 MB, free: 1.395 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 192.2 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205 MB / 408.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008943/0.0008943, allocations: 107.8 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 52.42 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1113, allocations: 75.49 MB / 0.6317 GB, free: 32.99 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002045/0.1134, allocations: 1.327 MB / 0.633 GB, free: 31.64 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.1142, allocations: 0.6157 MB / 0.6336 GB, free: 31.03 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.521e-05/0.1143, allocations: 0 / 0.6336 GB, free: 31.03 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.1143, allocations: 4 kB / 0.6336 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.1144, allocations: 3.984 kB / 0.6336 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.1148, allocations: 119.6 kB / 0.6337 GB, free: 30.9 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.34e-05/0.1148, allocations: 23.86 kB / 0.6337 GB, free: 30.88 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.1148, allocations: 7.938 kB / 0.6337 GB, free: 30.87 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.1149, allocations: 4 kB / 0.6337 GB, free: 30.87 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/0.1149, allocations: 19.86 kB / 0.6338 GB, free: 30.85 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1149, allocations: 0 / 0.6338 GB, free: 30.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.1153, allocations: 347.3 kB / 0.6341 GB, free: 30.51 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.1154, allocations: 0 / 0.6341 GB, free: 30.51 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.1154, allocations: 7.938 kB / 0.6341 GB, free: 30.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1156, allocations: 144 kB / 0.6342 GB, free: 30.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1156, allocations: 0 / 0.6342 GB, free: 30.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1156, allocations: 0 / 0.6342 GB, free: 30.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1157, allocations: 7.938 kB / 0.6343 GB, free: 30.35 MB / 442.7 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.0003453/0.116, allocations: 355.4 kB / 0.6346 GB, free: 29.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.116, allocations: 12.03 kB / 0.6346 GB, free: 29.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.1161, allocations: 8.844 kB / 0.6346 GB, free: 29.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.1162, allocations: 172.4 kB / 0.6348 GB, free: 29.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1162, allocations: 384 / 0.6348 GB, free: 29.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1162, allocations: 384 / 0.6348 GB, free: 29.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.1166, allocations: 62.22 kB / 0.6348 GB, free: 29.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1166, allocations: 4.188 kB / 0.6348 GB, free: 29.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1166, allocations: 3.938 kB / 0.6348 GB, free: 29.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1166, allocations: 0 / 0.6348 GB, free: 29.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.1169, allocations: 39.95 kB / 0.6349 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.117, allocations: 161.6 kB / 0.635 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.1174, allocations: 70.56 kB / 0.6351 GB, free: 29.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.1174, allocations: 20.94 kB / 0.6351 GB, free: 29.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.1176, allocations: 89.09 kB / 0.6352 GB, free: 29.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.1176, allocations: 34.56 kB / 0.6352 GB, free: 29.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1176, allocations: 0 / 0.6352 GB, free: 29.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001462/0.1191, allocations: 446 kB / 0.6357 GB, free: 28.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.1191, allocations: 59.41 kB / 0.6357 GB, free: 28.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.397e-05/0.1192, allocations: 101.8 kB / 0.6358 GB, free: 28.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.1192, allocations: 29.7 kB / 0.6358 GB, free: 28.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.412e-05/0.1192, allocations: 80.14 kB / 0.6359 GB, free: 28.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1192, allocations: 19.66 kB / 0.6359 GB, free: 28.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.1193, allocations: 25.7 kB / 0.636 GB, free: 28.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.1193, allocations: 310.8 kB / 0.6363 GB, free: 28.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.1194, allocations: 19.98 kB / 0.6363 GB, free: 27.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.1195, allocations: 35.97 kB / 0.6363 GB, free: 27.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1197, allocations: 56.97 kB / 0.6364 GB, free: 27.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1197, allocations: 0 / 0.6364 GB, free: 27.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002091/0.1199, allocations: 93.64 kB / 0.6365 GB, free: 27.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1199, allocations: 11.88 kB / 0.6365 GB, free: 27.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1199, allocations: 0 / 0.6365 GB, free: 27.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.12, allocations: 4 kB / 0.6365 GB, free: 27.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1201, allocations: 31.86 kB / 0.6365 GB, free: 27.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1201, allocations: 0 / 0.6365 GB, free: 27.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.1202, allocations: 7.984 kB / 0.6365 GB, free: 27.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.1202, allocations: 0 / 0.6365 GB, free: 27.74 MB / 442.7 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.307e-05/0.1203, allocations: 113.8 kB / 0.6366 GB, free: 27.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.1203, allocations: 7.844 kB / 0.6366 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.1203, allocations: 7.969 kB / 0.6366 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1203, allocations: 0 / 0.6366 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1203, allocations: 4 kB / 0.6366 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1204, allocations: 3.984 kB / 0.6366 GB, free: 27.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.1208, allocations: 351.3 kB / 0.637 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1208, allocations: 0 / 0.637 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.121, allocations: 23.97 kB / 0.637 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.121, allocations: 0 / 0.637 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.121, allocations: 0 / 0.637 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.121, allocations: 4.156 kB / 0.637 GB, free: 27.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.121, allocations: 8 kB / 0.637 GB, free: 27.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.1225, allocations: 1.153 MB / 0.6381 GB, free: 25.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.1225, allocations: 81.09 kB / 0.6382 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1226, allocations: 4.031 kB / 0.6382 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1227, allocations: 12.08 kB / 0.6382 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.1227, allocations: 11.88 kB / 0.6382 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.1227, allocations: 4 kB / 0.6382 GB, free: 25.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.963e-05/0.1228, allocations: 83.27 kB / 0.6383 GB, free: 25.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1228, allocations: 0 / 0.6383 GB, free: 25.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.123, allocations: 12 kB / 0.6383 GB, free: 25.65 MB / 442.7 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 8.487e-05/0.1231, allocations: 103.2 kB / 0.6384 GB, free: 25.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1234, allocations: 55.95 kB / 0.6385 GB, free: 25.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1234, allocations: 4 kB / 0.6385 GB, free: 25.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.1235, allocations: 35.91 kB / 0.6385 GB, free: 25.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1237, allocations: 6.844 kB / 0.6385 GB, free: 25.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.1243, allocations: 368.8 kB / 0.6389 GB, free: 25.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.1244, allocations: 0.6809 MB / 0.6396 GB, free: 24.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.1245, allocations: 4 kB / 0.6396 GB, free: 24.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.1245, allocations: 19.42 kB / 0.6396 GB, free: 24.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1245, allocations: 0 / 0.6396 GB, free: 24.3 MB / 442.7 MB Notification: Performance of Templates: time 0.002406/0.1269, allocations: 0.7072 MB / 0.6403 GB, free: 23.63 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)