Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009848/0.0009849, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006256/0.006256, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.112/3.112, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004992, allocations: 9.469 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3232, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00158/0.3248, allocations: 1.197 MB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3259, allocations: 0.6423 MB / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.3259, allocations: 0 / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.326, allocations: 3.938 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.326, allocations: 3.984 kB / 1.076 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.3265, allocations: 135.5 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.3266, allocations: 47.91 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.3267, allocations: 8 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.3267, allocations: 19.92 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.3268, allocations: 31.84 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3268, allocations: 4 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.3273, allocations: 347.3 kB / 1.077 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.3273, allocations: 7.984 kB / 1.077 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.3274, allocations: 49.56 kB / 1.077 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.3276, allocations: 179.7 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3277, allocations: 0 / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3277, allocations: 0 / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3277, allocations: 0 / 1.077 GB, free: 4.875 MB / 0.8262 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.0007267/0.3284, allocations: 391.4 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.3285, allocations: 8.031 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.3285, allocations: 12.84 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3287, allocations: 168.3 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.3287, allocations: 8.359 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.3288, allocations: 16.36 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3291, allocations: 82.22 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3291, allocations: 192 / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3291, allocations: 3.938 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3291, allocations: 0 / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.3294, allocations: 59.95 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.3301, allocations: 336.6 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.3304, allocations: 90.47 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.3306, allocations: 28.84 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3306, allocations: 4 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3306, allocations: 38.56 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3306, allocations: 3.938 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001801/0.3324, allocations: 0.6619 MB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3325, allocations: 59.41 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.3326, allocations: 109.7 kB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3326, allocations: 25.7 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.3327, allocations: 92.05 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.3327, allocations: 35.45 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.3328, allocations: 21.7 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.333, allocations: 314.8 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3331, allocations: 39.97 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3333, allocations: 43.36 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.3335, allocations: 76.83 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3336, allocations: 0 / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003319/0.3339, allocations: 129.5 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.3339, allocations: 8 kB / 1.079 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3339, allocations: 96 / 1.079 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.334, allocations: 3.938 kB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3341, allocations: 31.97 kB / 1.08 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3342, allocations: 4 kB / 1.08 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.3342, allocations: 7.938 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3342, allocations: 4 kB / 1.08 GB, free: 1.691 MB / 0.8262 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 0.0001116/0.3344, allocations: 121.8 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.3344, allocations: 3.984 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.3348, allocations: 141.6 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3349, allocations: 0 / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3349, allocations: 192 / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.3349, allocations: 3.938 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.3355, allocations: 402.4 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3355, allocations: 0 / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3357, allocations: 23.98 kB / 1.08 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.3357, allocations: 4 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3357, allocations: 11.88 kB / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3357, allocations: 0 / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3357, allocations: 0 / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.3363, allocations: 255.4 kB / 1.08 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.3363, allocations: 89.03 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3363, allocations: 7.938 kB / 1.081 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3365, allocations: 8.062 kB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.3365, allocations: 7.984 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3365, allocations: 12 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.3365, allocations: 83.27 kB / 1.081 GB, free: 440 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3366, allocations: 0 / 1.081 GB, free: 440 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002801/0.3368, allocations: 43.94 kB / 1.081 GB, free: 396 kB / 0.8262 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.0002305/0.3371, allocations: 127.1 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.3374, allocations: 99.88 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3374, allocations: 0 / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3376, allocations: 47.92 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.3379, allocations: 16.67 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.3386, allocations: 377.3 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3388, allocations: 0.7004 MB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.628e-05/0.3389, allocations: 4.672 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.3389, allocations: 19.42 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3389, allocations: 3.938 kB / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.003439/0.3424, allocations: 1.095 MB / 1.083 GB, free: 13.89 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)