Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 108.5 kB / 17.08 MB, free: 5.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 194.2 kB / 20.03 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 489.3 MB / 0.7687 GB, free: 3.738 MB / 0.6075 GB " [Timeout remaining time 176] 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.88 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9199/0.9219, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002392/0.9243, allocations: 1.278 MB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.9253, allocations: 0.6078 MB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.9253, allocations: 0.7812 kB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.9254, allocations: 0.6562 kB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.9254, allocations: 5.344 kB / 1.264 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.9259, allocations: 152.3 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.926, allocations: 19.45 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.9261, allocations: 3.5 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.9261, allocations: 4.375 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.9262, allocations: 9.453 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.9262, allocations: 1.031 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005645/0.9268, allocations: 344.5 kB / 1.265 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.9268, allocations: 5.953 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.9268, allocations: 8 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.9271, allocations: 156 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9271, allocations: 0 / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9271, allocations: 0.75 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.9271, allocations: 0 / 1.265 GB, free: 6.43 MB / 0.9981 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.0003663/0.9275, allocations: 359.2 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.9275, allocations: 9.156 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.9276, allocations: 7.125 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.9277, allocations: 162.9 kB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.9277, allocations: 5.812 kB / 1.266 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.9277, allocations: 5.875 kB / 1.266 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.9278, allocations: 40.55 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9278, allocations: 0.9375 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.9278, allocations: 4.906 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.9278, allocations: 0 / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.9279, allocations: 12.62 kB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.928, allocations: 158.1 kB / 1.266 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.9282, allocations: 44.58 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.9283, allocations: 17.47 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.9283, allocations: 1.375 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.9283, allocations: 40.17 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.9283, allocations: 0 / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0005451/0.9289, allocations: 325.6 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.9289, allocations: 52.28 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.645e-05/0.9289, allocations: 103.7 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.929, allocations: 26.73 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/0.929, allocations: 85.73 kB / 1.266 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.929, allocations: 19.17 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.929, allocations: 21.23 kB / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.9291, allocations: 313.1 kB / 1.267 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.9291, allocations: 11.95 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.9292, allocations: 12.34 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.9292, allocations: 33.41 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.9292, allocations: 4 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.122e-05/0.9293, allocations: 68.19 kB / 1.267 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9293, allocations: 9.844 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9294, allocations: 0.7031 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.9294, allocations: 0 / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.9294, allocations: 11.5 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.9294, allocations: 1.438 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.9295, allocations: 0 / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.9295, allocations: 2.375 kB / 1.267 GB, free: 4.5 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.9295, allocations: 116.2 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.9295, allocations: 6.484 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.9297, allocations: 72.77 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9297, allocations: 1.25 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9297, allocations: 0 / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.9297, allocations: 1.297 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.93, allocations: 321.3 kB / 1.267 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.93, allocations: 4.031 kB / 1.267 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.9301, allocations: 15.83 kB / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9301, allocations: 1.375 kB / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.9301, allocations: 0.8438 kB / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9301, allocations: 1.406 kB / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9301, allocations: 0.5938 kB / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.9303, allocations: 180.8 kB / 1.268 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.9303, allocations: 88.97 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.9303, allocations: 2.547 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.9304, allocations: 5.953 kB / 1.268 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.9304, allocations: 7.719 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.9304, allocations: 6.531 kB / 1.268 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.121e-05/0.9305, allocations: 79.59 kB / 1.268 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9305, allocations: 0 / 1.268 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002448/0.9307, allocations: 23.02 kB / 1.268 GB, free: 3.625 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 0.0001685/0.9309, allocations: 125.5 kB / 1.268 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.931, allocations: 35.03 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.931, allocations: 0.9062 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/0.931, allocations: 12.88 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.9313, allocations: 11.3 kB / 1.268 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.9317, allocations: 229.9 kB / 1.268 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.934e-05/0.9318, allocations: 0.6802 MB / 1.269 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.9318, allocations: 10.94 kB / 1.269 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.9318, allocations: 0 / 1.269 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of Templates: time 0.002872/0.9347, allocations: 0.7986 MB / 1.27 GB, free: 2.523 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 10.94991526613012] Failed to read output from testmodel.py, exit status != 0: 0.942485315958038 0.954290981 0.024719971 Calling exit ...