Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001091/0.001091, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.001144/0.001144, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8798/0.8798, allocations: 143 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.56 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002456/0.1343, allocations: 1.465 MB / 0.6777 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1354, allocations: 0.6382 MB / 0.6784 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.1354, allocations: 0 / 0.6784 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.1355, allocations: 3.938 kB / 0.6784 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.1355, allocations: 7.938 kB / 0.6784 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.1361, allocations: 166.5 kB / 0.6785 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.729e-05/0.1362, allocations: 51.83 kB / 0.6786 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1362, allocations: 4 kB / 0.6786 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.1363, allocations: 23.92 kB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.1363, allocations: 31.84 kB / 0.6786 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1363, allocations: 4 kB / 0.6786 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.1368, allocations: 347.3 kB / 0.679 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1368, allocations: 8 kB / 0.679 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.1369, allocations: 31.84 kB / 0.679 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.1371, allocations: 179.5 kB / 0.6792 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1371, allocations: 4 kB / 0.6792 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1372, allocations: 0 / 0.6792 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1372, allocations: 0 / 0.6792 GB, free: 7.355 MB / 0.5137 GB 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.000572/0.1377, allocations: 395.3 kB / 0.6796 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1378, allocations: 8.031 kB / 0.6796 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.1378, allocations: 16.83 kB / 0.6796 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1379, allocations: 168.3 kB / 0.6798 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.138, allocations: 8.375 kB / 0.6798 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.138, allocations: 12.25 kB / 0.6798 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.1382, allocations: 74.22 kB / 0.6798 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1382, allocations: 192 / 0.6798 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1383, allocations: 11.94 kB / 0.6799 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1383, allocations: 0 / 0.6799 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.1385, allocations: 51.95 kB / 0.6799 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.139, allocations: 324.6 kB / 0.6802 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1393, allocations: 78.53 kB / 0.6803 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1394, allocations: 32.83 kB / 0.6803 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1395, allocations: 8.141 kB / 0.6803 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1395, allocations: 34.56 kB / 0.6804 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1395, allocations: 0 / 0.6804 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001606/0.1411, allocations: 0.6459 MB / 0.681 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.1411, allocations: 55.41 kB / 0.681 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.1412, allocations: 97.86 kB / 0.6811 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1413, allocations: 29.7 kB / 0.6812 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.1413, allocations: 96.02 kB / 0.6813 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.1413, allocations: 47.39 kB / 0.6813 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1414, allocations: 21.72 kB / 0.6813 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1415, allocations: 322.8 kB / 0.6816 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1417, allocations: 31.98 kB / 0.6817 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1418, allocations: 31.97 kB / 0.6817 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.142, allocations: 72.2 kB / 0.6818 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1421, allocations: 12 kB / 0.6818 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003094/0.1424, allocations: 117.6 kB / 0.6819 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1424, allocations: 4 kB / 0.6819 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1424, allocations: 0 / 0.6819 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1424, allocations: 0 / 0.6819 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1426, allocations: 27.98 kB / 0.6819 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1426, allocations: 0 / 0.6819 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.1427, allocations: 15.92 kB / 0.6819 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1427, allocations: 0 / 0.6819 GB, free: 4.238 MB / 0.5137 GB 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 7.793e-05/0.1428, allocations: 118.5 kB / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.1428, allocations: 7.938 kB / 0.6821 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.1432, allocations: 133.8 kB / 0.6822 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1432, allocations: 4 kB / 0.6822 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1432, allocations: 3.984 kB / 0.6822 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.1432, allocations: 84.95 kB / 0.6823 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1432, allocations: 0 / 0.6823 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1434, allocations: 15.98 kB / 0.6823 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.1434, allocations: 7.984 kB / 0.6823 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004232/0.1438, allocations: 200.8 kB / 0.6825 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005151/0.1444, allocations: 326.6 kB / 0.6828 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001391/0.1445, allocations: 48.38 kB / 0.6828 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.91e-05/0.1445, allocations: 75.28 kB / 0.6829 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of Backend: time 2.21e-07/0.1446, allocations: 0 / 0.6829 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006099/0.1452, allocations: 200.6 kB / 0.6831 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006713/0.1459, allocations: 0.7285 MB / 0.6838 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of Templates: time 0.004258/0.1501, allocations: 1.802 MB / 0.6856 GB, free: 452 kB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)