Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0008077/0.0008077, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.002447, 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.0007642/0.0007642, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009555/0.00172, 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.9168/0.9168, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08042/0.9972, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.203/2.203, allocations: 440.5 MB / 0.6683 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2222/2.425, allocations: 143.9 MB / 0.8089 GB, free: 12.4 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_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8102 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.794e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2): time 0.003132/0.00317, allocations: 1.497 MB / 0.8116 GB, free: 9.562 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.004629, allocations: 0.9964 MB / 0.8126 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.004673, allocations: 0 / 0.8126 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.004687, allocations: 3.938 kB / 0.8126 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.004729, allocations: 7.938 kB / 0.8126 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.005432, allocations: 274.7 kB / 0.8129 GB, free: 8.277 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.762e-05/0.00553, allocations: 47.73 kB / 0.8129 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.005576, allocations: 7.984 kB / 0.8129 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.005657, allocations: 39.95 kB / 0.813 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.005722, allocations: 23.84 kB / 0.813 GB, free: 8.16 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.005738, allocations: 4 kB / 0.813 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009245/0.006662, allocations: 0.5032 MB / 0.8135 GB, free: 7.652 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.006683, allocations: 7.938 kB / 0.8135 GB, free: 7.645 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.006712, allocations: 12 kB / 0.8135 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.00719, allocations: 299.2 kB / 0.8138 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.007204, allocations: 0 / 0.8138 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.212e-06/0.007205, allocations: 0 / 0.8138 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.007218, allocations: 0 / 0.8138 GB, free: 7.34 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.000495/0.007713, allocations: 359.5 kB / 0.8141 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.007751, allocations: 16.62 kB / 0.8142 GB, free: 6.949 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.007794, allocations: 8.875 kB / 0.8142 GB, free: 6.941 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.007901, allocations: 125.6 kB / 0.8143 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.007912, allocations: 384 / 0.8143 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.007941, allocations: 4.375 kB / 0.8143 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.008056, allocations: 97.64 kB / 0.8144 GB, free: 6.676 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.008067, allocations: 192 / 0.8144 GB, free: 6.676 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.008078, allocations: 8.125 kB / 0.8144 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.008083, allocations: 0 / 0.8144 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.008115, allocations: 11.98 kB / 0.8144 GB, free: 6.656 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.008236, allocations: 88.86 kB / 0.8145 GB, free: 6.555 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.623e-05/0.008332, allocations: 46.56 kB / 0.8145 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.008362, allocations: 21.06 kB / 0.8145 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.008382, allocations: 4 kB / 0.8145 GB, free: 6.473 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.008409, allocations: 34.56 kB / 0.8146 GB, free: 6.43 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.00841, allocations: 0 / 0.8146 GB, free: 6.43 MB / 0.7917 GB Notification: Performance of matching and sorting (n=11): time 0.001121/0.009531, allocations: 462.2 kB / 0.815 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.009562, allocations: 59.39 kB / 0.8151 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.00965, allocations: 122.6 kB / 0.8152 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.009667, allocations: 33.7 kB / 0.8152 GB, free: 5.684 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.009704, allocations: 88.39 kB / 0.8153 GB, free: 5.59 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.00974, allocations: 39.64 kB / 0.8154 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.009792, allocations: 33.69 kB / 0.8154 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.009882, allocations: 322.8 kB / 0.8157 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.00992, allocations: 28 kB / 0.8157 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.009954, allocations: 23.98 kB / 0.8157 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.01005, allocations: 70.81 kB / 0.8158 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01005, allocations: 0 / 0.8158 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001425/0.01019, allocations: 108 kB / 0.8159 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01021, allocations: 4 kB / 0.8159 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.01022, allocations: 0 / 0.8159 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.01023, allocations: 4 kB / 0.8159 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.01033, allocations: 23.98 kB / 0.8159 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.01033, allocations: 0 / 0.8159 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.01036, allocations: 3.938 kB / 0.8159 GB, free: 4.922 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.01037, allocations: 12 kB / 0.816 GB, free: 4.91 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 7.006e-05/0.01044, allocations: 117.8 kB / 0.8161 GB, free: 4.785 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.01045, allocations: 11.92 kB / 0.8161 GB, free: 4.773 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.01061, allocations: 78.09 kB / 0.8162 GB, free: 4.691 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.01061, allocations: 4 kB / 0.8162 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01062, allocations: 3.984 kB / 0.8162 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01062, allocations: 0 / 0.8162 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.0109, allocations: 234.7 kB / 0.8164 GB, free: 4.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01091, allocations: 0 / 0.8164 GB, free: 4.43 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.01101, allocations: 31.98 kB / 0.8164 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01101, allocations: 4 kB / 0.8164 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.01102, allocations: 0 / 0.8164 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01102, allocations: 0 / 0.8164 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01102, allocations: 3.938 kB / 0.8164 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.01121, allocations: 188.1 kB / 0.8166 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.01122, allocations: 11.95 kB / 0.8166 GB, free: 4.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.01123, allocations: 3.984 kB / 0.8166 GB, free: 4.176 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.0113, allocations: 4 kB / 0.8166 GB, free: 4.172 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.01132, allocations: 11.92 kB / 0.8166 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.01133, allocations: 4 kB / 0.8166 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 1.966e-05/0.01135, allocations: 20.94 kB / 0.8167 GB, free: 4.133 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01135, allocations: 0 / 0.8167 GB, free: 4.133 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006098/0.01196, allocations: 115.5 kB / 0.8168 GB, free: 4.02 MB / 0.7917 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.0003617/0.01232, allocations: 211.8 kB / 0.817 GB, free: 3.805 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01247, allocations: 90.47 kB / 0.8171 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.01248, allocations: 0 / 0.8171 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 3.838e-05/0.01251, allocations: 32.78 kB / 0.8171 GB, free: 3.672 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.01273, allocations: 24.8 kB / 0.8171 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.01335, allocations: 270.4 kB / 0.8174 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.521e-05/0.01341, allocations: 79.33 kB / 0.8174 GB, free: 3.254 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.0135, allocations: 67.36 kB / 0.8175 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of SimCode: time 5.51e-07/0.0135, allocations: 0 / 0.8175 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of Templates: time 0.00325/0.01675, allocations: 2.006 MB / 0.8195 GB, free: 1.191 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2 -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.5183956092223525]