Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001139/0.001139, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001416/0.001416, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.611/1.611, allocations: 252 MB / 0.5102 GB, free: 4.859 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004985, allocations: 19.98 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.522, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001392/0.5234, allocations: 1.003 MB / 0.7291 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.5245, allocations: 0.5638 MB / 0.7297 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.5246, allocations: 3.938 kB / 0.7297 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.5246, allocations: 0 / 0.7297 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.5246, allocations: 7.938 kB / 0.7297 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.5251, allocations: 114.5 kB / 0.7298 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.113e-05/0.5252, allocations: 19.94 kB / 0.7298 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.5252, allocations: 3.984 kB / 0.7298 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.51e-05/0.5253, allocations: 11.92 kB / 0.7298 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.5253, allocations: 8 kB / 0.7298 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.5253, allocations: 4 kB / 0.7298 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.5258, allocations: 335.3 kB / 0.7301 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.5258, allocations: 8 kB / 0.7302 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.5259, allocations: 29.64 kB / 0.7302 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.5261, allocations: 105.7 kB / 0.7303 GB, free: 9.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5261, allocations: 0 / 0.7303 GB, free: 9.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5261, allocations: 0 / 0.7303 GB, free: 9.211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.5261, allocations: 0 / 0.7303 GB, free: 9.211 MB / 0.545 GB 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.0003755/0.5265, allocations: 351.3 kB / 0.7306 GB, free: 8.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5265, allocations: 16.03 kB / 0.7306 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.5265, allocations: 0 / 0.7306 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.5267, allocations: 171 kB / 0.7308 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.5267, allocations: 4 kB / 0.7308 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.5267, allocations: 0 / 0.7308 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.5268, allocations: 45.69 kB / 0.7308 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.5269, allocations: 0 / 0.7308 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.5269, allocations: 0 / 0.7308 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5269, allocations: 0 / 0.7308 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.5269, allocations: 15.94 kB / 0.7309 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.5271, allocations: 165.5 kB / 0.731 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.5273, allocations: 42.61 kB / 0.7311 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.5274, allocations: 20.94 kB / 0.7311 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.5274, allocations: 0 / 0.7311 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.5274, allocations: 30.56 kB / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.5274, allocations: 4 kB / 0.7311 GB, free: 8.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006296/0.528, allocations: 310.6 kB / 0.7314 GB, free: 7.844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.5281, allocations: 51.41 kB / 0.7315 GB, free: 7.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.5282, allocations: 101.8 kB / 0.7315 GB, free: 7.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.5282, allocations: 29.64 kB / 0.7316 GB, free: 7.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.5283, allocations: 84.14 kB / 0.7317 GB, free: 7.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.5283, allocations: 23.59 kB / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.5283, allocations: 0 / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5284, allocations: 326.8 kB / 0.732 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.5284, allocations: 12 kB / 0.732 GB, free: 7.188 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.5285, allocations: 7.984 kB / 0.732 GB, free: 7.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.5285, allocations: 24.12 kB / 0.732 GB, free: 7.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5285, allocations: 0 / 0.732 GB, free: 7.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.944e-05/0.5286, allocations: 61.64 kB / 0.7321 GB, free: 7.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5286, allocations: 7.984 kB / 0.7321 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5286, allocations: 0 / 0.7321 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5287, allocations: 4 kB / 0.7321 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.5287, allocations: 8 kB / 0.7321 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5287, allocations: 4 kB / 0.7321 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.5288, allocations: 4 kB / 0.7321 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.5288, allocations: 4 kB / 0.7321 GB, free: 7.059 MB / 0.545 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.16e-05/0.5288, allocations: 109.8 kB / 0.7322 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.5289, allocations: 4 kB / 0.7322 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.529, allocations: 81.48 kB / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5291, allocations: 0 / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5291, allocations: 0 / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.5291, allocations: 4 kB / 0.7323 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.5295, allocations: 307.4 kB / 0.7326 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5295, allocations: 7.938 kB / 0.7326 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.5296, allocations: 11.98 kB / 0.7326 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5296, allocations: 0 / 0.7326 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5296, allocations: 4 kB / 0.7326 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5296, allocations: 192 / 0.7326 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5296, allocations: 4 kB / 0.7326 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.5298, allocations: 180.4 kB / 0.7328 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.5299, allocations: 81.14 kB / 0.7329 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.5299, allocations: 4 kB / 0.7329 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.53, allocations: 0 / 0.7329 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.851e-05/0.53, allocations: 11.92 kB / 0.7329 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.53, allocations: 4 kB / 0.7329 GB, free: 6.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.53, allocations: 79.22 kB / 0.733 GB, free: 6.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.53, allocations: 4.062 kB / 0.733 GB, free: 6.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002423/0.5303, allocations: 24 kB / 0.733 GB, free: 6.039 MB / 0.545 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.5305, allocations: 131.1 kB / 0.7331 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.369e-05/0.5306, allocations: 28 kB / 0.7332 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5306, allocations: 0 / 0.7332 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.5306, allocations: 23.92 kB / 0.7332 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.5309, allocations: 7.953 kB / 0.7332 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.5312, allocations: 225.7 kB / 0.7334 GB, free: 5.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.5315, allocations: 0.6848 MB / 0.7341 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.5315, allocations: 7.984 kB / 0.7341 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.5315, allocations: 11.44 kB / 0.7341 GB, free: 4.859 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.5316, allocations: 0 / 0.7341 GB, free: 4.859 MB / 0.545 GB Notification: Performance of Templates: time 0.002739/0.5343, allocations: 0.6222 MB / 0.7347 GB, free: 4.277 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: