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.005391/0.005391, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001194/0.001194, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.9353/0.9353, allocations: 143 MB / 433.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.89 kB / 0.5955 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3926, allocations: 82.04 MB / 0.6756 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002298/0.395, allocations: 1.455 MB / 0.6771 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.396, allocations: 0.6461 MB / 0.6777 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.3961, allocations: 1.094 kB / 0.6777 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.3961, allocations: 3.938 kB / 0.6777 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.3962, allocations: 5.219 kB / 0.6777 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.3968, allocations: 163 kB / 0.6779 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.917e-05/0.3969, allocations: 54.44 kB / 0.6779 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.3969, allocations: 11.03 kB / 0.6779 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.397, allocations: 21.92 kB / 0.6779 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.3971, allocations: 27.38 kB / 0.678 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3971, allocations: 3.688 kB / 0.678 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.3976, allocations: 349.1 kB / 0.6783 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.3977, allocations: 14.16 kB / 0.6783 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.3977, allocations: 31.97 kB / 0.6783 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.398, allocations: 176.7 kB / 0.6785 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3981, allocations: 0 / 0.6785 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3981, allocations: 0 / 0.6785 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.3981, allocations: 1.281 kB / 0.6785 GB, free: 15.29 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.0007086/0.3988, allocations: 402.1 kB / 0.6789 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3988, allocations: 9.719 kB / 0.6789 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.3989, allocations: 12.56 kB / 0.6789 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.399, allocations: 166.6 kB / 0.6791 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.399, allocations: 7.531 kB / 0.6791 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3991, allocations: 4.531 kB / 0.6791 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3993, allocations: 79.22 kB / 0.6792 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3993, allocations: 192 / 0.6792 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3993, allocations: 8.938 kB / 0.6792 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3993, allocations: 1.344 kB / 0.6792 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.3995, allocations: 53.11 kB / 0.6792 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.4001, allocations: 316.6 kB / 0.6795 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.4003, allocations: 84.41 kB / 0.6796 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.4005, allocations: 33.92 kB / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.4005, allocations: 1.094 kB / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.4005, allocations: 32.88 kB / 0.6797 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.4005, allocations: 0 / 0.6797 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001537/0.4021, allocations: 0.6444 MB / 0.6803 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.4021, allocations: 60.41 kB / 0.6804 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.4022, allocations: 103.5 kB / 0.6805 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4022, allocations: 34.64 kB / 0.6805 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.4023, allocations: 90.67 kB / 0.6806 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.4023, allocations: 47.06 kB / 0.6806 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.4024, allocations: 26.98 kB / 0.6806 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.086e-05/0.4024, allocations: 315.9 kB / 0.6809 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.4026, allocations: 34.81 kB / 0.681 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4027, allocations: 27.58 kB / 0.681 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.4029, allocations: 70.64 kB / 0.6811 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.4029, allocations: 4 kB / 0.6811 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002964/0.4032, allocations: 123.3 kB / 0.6812 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4033, allocations: 5.562 kB / 0.6812 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4033, allocations: 0 / 0.6812 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4033, allocations: 0.9375 kB / 0.6812 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4034, allocations: 36.34 kB / 0.6812 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4034, allocations: 1.406 kB / 0.6812 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.4035, allocations: 11.31 kB / 0.6812 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4035, allocations: 6.75 kB / 0.6813 GB, free: 12.72 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.037e-05/0.4036, allocations: 113.2 kB / 0.6814 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.4036, allocations: 7.047 kB / 0.6814 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.404, allocations: 126.7 kB / 0.6815 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.404, allocations: 2.406 kB / 0.6815 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.404, allocations: 0 / 0.6815 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.404, allocations: 3.938 kB / 0.6815 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.4046, allocations: 389.2 kB / 0.6819 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4046, allocations: 1.125 kB / 0.6819 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4047, allocations: 35.3 kB / 0.6819 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4047, allocations: 1.281 kB / 0.6819 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4048, allocations: 5.125 kB / 0.6819 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.4048, allocations: 1.219 kB / 0.6819 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4048, allocations: 0 / 0.6819 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.4052, allocations: 251.1 kB / 0.6821 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.4053, allocations: 87.41 kB / 0.6822 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.4053, allocations: 5.094 kB / 0.6822 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4054, allocations: 8.719 kB / 0.6822 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.4054, allocations: 11.48 kB / 0.6823 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.4055, allocations: 3.375 kB / 0.6823 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.4055, allocations: 77.66 kB / 0.6823 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4055, allocations: 4 kB / 0.6823 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002581/0.4058, allocations: 42.92 kB / 0.6824 GB, free: 11.72 MB / 0.5137 GB 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.0002065/0.406, allocations: 132.9 kB / 0.6825 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.4063, allocations: 87.72 kB / 0.6826 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4063, allocations: 3.938 kB / 0.6826 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4064, allocations: 40.73 kB / 0.6826 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.4067, allocations: 16.19 kB / 0.6826 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.4073, allocations: 311.9 kB / 0.6829 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.4076, allocations: 0.6994 MB / 0.6836 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.4076, allocations: 11.45 kB / 0.6836 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.4077, allocations: 14.31 kB / 0.6837 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4077, allocations: 0 / 0.6837 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.0034/0.4111, allocations: 1.177 MB / 0.6848 GB, free: 9.992 MB / 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)