Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007778/0.0007778, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001818, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001918/0.003637, allocations: 463.6 kB / 11.64 MB, free: 2.527 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9095/0.9095, allocations: 177.2 MB / 189.5 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08526/0.9948, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.234/2.234, allocations: 440.5 MB / 0.6683 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2563/2.491, allocations: 143.9 MB / 0.8089 GB, free: 12.39 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8102 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.145e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.001441/0.001452, allocations: 1.48 MB / 0.8116 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008949/0.002347, allocations: 0.9731 MB / 0.8126 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.87e-05/0.002366, allocations: 0 / 0.8126 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.935e-06/0.002374, allocations: 3.938 kB / 0.8126 GB, free: 8.586 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.439e-05/0.002398, allocations: 15.84 kB / 0.8126 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.002742, allocations: 266.7 kB / 0.8128 GB, free: 8.309 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.002806, allocations: 55.78 kB / 0.8129 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 2.855e-05/0.002834, allocations: 3.984 kB / 0.8129 GB, free: 8.25 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.002896, allocations: 39.89 kB / 0.8129 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.002942, allocations: 15.98 kB / 0.813 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.002953, allocations: 0 / 0.813 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.003447, allocations: 0.5226 MB / 0.8135 GB, free: 7.672 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.003459, allocations: 7.938 kB / 0.8135 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.00348, allocations: 15.94 kB / 0.8135 GB, free: 7.648 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.003774, allocations: 299.1 kB / 0.8138 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.003782, allocations: 3.938 kB / 0.8138 GB, free: 7.352 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.9e-07/0.003783, allocations: 0 / 0.8138 GB, free: 7.352 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.003791, allocations: 0 / 0.8138 GB, free: 7.352 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002939/0.004084, allocations: 351.6 kB / 0.8141 GB, free: 6.984 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.55e-05/0.00411, allocations: 12.62 kB / 0.8141 GB, free: 6.973 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.004132, allocations: 8.922 kB / 0.8141 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.262e-05/0.004195, allocations: 117.6 kB / 0.8143 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.004202, allocations: 8.375 kB / 0.8143 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.00422, allocations: 8.375 kB / 0.8143 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.58e-05/0.004296, allocations: 97.64 kB / 0.8144 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.004302, allocations: 192 / 0.8144 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.004308, allocations: 8.125 kB / 0.8144 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.004312, allocations: 0 / 0.8144 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.004334, allocations: 11.98 kB / 0.8144 GB, free: 6.676 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.464e-05/0.004408, allocations: 76.92 kB / 0.8145 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.232e-05/0.004471, allocations: 50.56 kB / 0.8145 GB, free: 6.527 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.00449, allocations: 20.86 kB / 0.8145 GB, free: 6.504 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.004503, allocations: 4 kB / 0.8145 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.00452, allocations: 30.56 kB / 0.8146 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 6.72e-07/0.00452, allocations: 0 / 0.8146 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of matching and sorting (n=11): time 0.0007077/0.005228, allocations: 482.2 kB / 0.815 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.005249, allocations: 55.41 kB / 0.8151 GB, free: 5.871 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.005303, allocations: 134.7 kB / 0.8152 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.005313, allocations: 25.7 kB / 0.8152 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.005345, allocations: 84.42 kB / 0.8153 GB, free: 5.605 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.005369, allocations: 39.62 kB / 0.8153 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.005405, allocations: 45.67 kB / 0.8154 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.005468, allocations: 318.8 kB / 0.8157 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.00549, allocations: 20 kB / 0.8157 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.00551, allocations: 20 kB / 0.8157 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.005568, allocations: 70.62 kB / 0.8158 GB, free: 5.086 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.005569, allocations: 4 kB / 0.8158 GB, free: 5.082 MB / 0.7917 GB Notification: Performance of matching and sorting (n=22) (initialization): time 8.299e-05/0.005652, allocations: 105.5 kB / 0.8159 GB, free: 4.973 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.005661, allocations: 7.938 kB / 0.8159 GB, free: 4.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.00567, allocations: 4 kB / 0.8159 GB, free: 4.961 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/0.005675, allocations: 0 / 0.8159 GB, free: 4.961 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.00573, allocations: 27.98 kB / 0.8159 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/0.005732, allocations: 0 / 0.8159 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.005748, allocations: 7.938 kB / 0.8159 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005752, allocations: 0 / 0.8159 GB, free: 4.926 MB / 0.7917 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.939e-05/0.005802, allocations: 117.8 kB / 0.8161 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.005811, allocations: 12 kB / 0.8161 GB, free: 4.789 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/0.005908, allocations: 82.09 kB / 0.8161 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.005909, allocations: 0 / 0.8161 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005911, allocations: 0 / 0.8161 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005914, allocations: 3.984 kB / 0.8161 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.006113, allocations: 242.6 kB / 0.8164 GB, free: 4.438 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006114, allocations: 0 / 0.8164 GB, free: 4.438 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.006173, allocations: 23.98 kB / 0.8164 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006175, allocations: 0 / 0.8164 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.006181, allocations: 4 kB / 0.8164 GB, free: 4.41 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.006181, allocations: 4 kB / 0.8164 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.006182, allocations: 0 / 0.8164 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.006295, allocations: 183.4 kB / 0.8166 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.006301, allocations: 3.953 kB / 0.8166 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.006311, allocations: 8 kB / 0.8166 GB, free: 4.199 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.006346, allocations: 0 / 0.8166 GB, free: 4.199 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.00636, allocations: 11.92 kB / 0.8166 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006364, allocations: 0 / 0.8166 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 1.335e-05/0.006378, allocations: 25.59 kB / 0.8166 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4e-08/0.006378, allocations: 0 / 0.8166 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001867/0.006564, allocations: 119.4 kB / 0.8167 GB, free: 4.043 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002144/0.006779, allocations: 203.9 kB / 0.8169 GB, free: 3.836 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.696e-05/0.006876, allocations: 100.5 kB / 0.817 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.006879, allocations: 4 kB / 0.817 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.006903, allocations: 29.11 kB / 0.8171 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.007024, allocations: 17.03 kB / 0.8171 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.007438, allocations: 283.9 kB / 0.8174 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.007479, allocations: 79.33 kB / 0.8174 GB, free: 3.273 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.007546, allocations: 71.36 kB / 0.8175 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of SimCode: time 3.81e-07/0.007546, allocations: 3.938 kB / 0.8175 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of Templates: time 0.002041/0.009587, allocations: 2.009 MB / 0.8195 GB, free: 1.203 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2 -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.594238894060254]