Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0006594/0.0006594, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009067/0.001566, allocations: 440 kB / 10.41 MB, free: 284 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.0006739/0.0006739, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008775/0.001551, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9472/0.9472, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08489/1.032, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001174/0.001174, allocations: 223 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.002208, allocations: 487.2 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7067/0.7067, allocations: 138.7 MB / 384.3 MB, free: 376 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06844/0.7752, allocations: 42.4 MB / 426.7 MB, free: 5.836 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 428.1 MB, free: 4.496 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.324e-05, allocations: 2.312 kB / 428.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002791/0.002814, allocations: 1.383 MB / 429.4 MB, free: 3.094 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000848/0.003662, allocations: 0.5759 MB / 430 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.003681, allocations: 0 / 430 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.003692, allocations: 3.938 kB / 430 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.556e-05/0.003717, allocations: 3.938 kB / 430 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.004083, allocations: 139.2 kB / 430.2 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.004147, allocations: 27.86 kB / 430.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.004186, allocations: 0 / 430.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.984e-05/0.004246, allocations: 15.98 kB / 430.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.004311, allocations: 7.938 kB / 430.2 MB, free: 2.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.004325, allocations: 0 / 430.2 MB, free: 2.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.004767, allocations: 275.4 kB / 430.5 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.004781, allocations: 4 kB / 430.5 MB, free: 2.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.004798, allocations: 4 kB / 430.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.005049, allocations: 135.6 kB / 430.6 MB, free: 1.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.005061, allocations: 0 / 430.6 MB, free: 1.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005062, allocations: 0 / 430.6 MB, free: 1.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.005076, allocations: 4 kB / 430.6 MB, free: 1.906 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004027/0.005479, allocations: 276.3 kB / 430.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.005514, allocations: 8.031 kB / 430.9 MB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.005544, allocations: 4.938 kB / 430.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.00564, allocations: 117.6 kB / 431 MB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.00565, allocations: 4.375 kB / 431 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.005661, allocations: 384 / 431 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.005738, allocations: 42.25 kB / 431.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.005746, allocations: 192 / 431.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.005752, allocations: 384 / 431.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.005758, allocations: 4.375 kB / 431.1 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.005784, allocations: 11.94 kB / 431.1 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.006002, allocations: 152.3 kB / 431.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.00615, allocations: 34.5 kB / 431.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.006175, allocations: 24.89 kB / 431.3 MB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.00619, allocations: 0 / 431.3 MB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.006212, allocations: 30.56 kB / 431.3 MB, free: 1.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.006213, allocations: 4 kB / 431.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000122/0.006335, allocations: 41.69 kB / 431.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.006371, allocations: 59.34 kB / 431.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.006437, allocations: 110.8 kB / 431.5 MB, free: 0.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.00645, allocations: 25.7 kB / 431.6 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.006488, allocations: 88.08 kB / 431.6 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.006503, allocations: 19.89 kB / 431.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.006532, allocations: 17.66 kB / 431.7 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.006621, allocations: 310.8 kB / 432 MB, free: 408 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.006634, allocations: 7.984 kB / 432 MB, free: 400 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.006655, allocations: 17.7 kB / 432 MB, free: 376 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.006693, allocations: 29.7 kB / 432 MB, free: 340 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006695, allocations: 4 kB / 432 MB, free: 336 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.056e-05/0.006765, allocations: 45.62 kB / 432.1 MB, free: 284 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.006779, allocations: 8 kB / 432.1 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006783, allocations: 0 / 432.1 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.006795, allocations: 0 / 432.1 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.006847, allocations: 11.94 kB / 432.1 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.006851, allocations: 0 / 432.1 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.006874, allocations: 7.938 kB / 432.1 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.006881, allocations: 3.984 kB / 432.1 MB, free: 252 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 5.762e-05/0.006938, allocations: 117.8 kB / 432.2 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.00696, allocations: 4 kB / 432.2 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.634e-05/0.007057, allocations: 49.31 kB / 432.3 MB, free: 64 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.00706, allocations: 4 kB / 432.3 MB, free: 60 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.007063, allocations: 3.938 kB / 432.3 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.007067, allocations: 3.984 kB / 432.3 MB, free: 52 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2331/0.2402, allocations: 62.03 kB / 432.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2402, allocations: 0 / 432.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.2402, allocations: 6.219 kB / 432.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.2402, allocations: 2.625 kB / 432.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2402, allocations: 0.5312 kB / 432.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.2402, allocations: 1.25 kB / 432.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2402, allocations: 1.859 kB / 432.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2403, allocations: 7 kB / 432.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.128e-05/0.2403, allocations: 134.5 kB / 432.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.2403, allocations: 3.641 kB / 432.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.2404, allocations: 0.8125 kB / 432.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.2404, allocations: 8.016 kB / 432.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.2404, allocations: 6.156 kB / 432.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.313e-05/0.2404, allocations: 9.703 kB / 432.5 MB, free: 2.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2404, allocations: 0 / 432.5 MB, free: 2.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000148/0.2406, allocations: 20.88 kB / 432.6 MB, free: 2.215 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001394/0.2407, allocations: 106.5 kB / 432.7 MB, free: 2.148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.167e-05/0.2408, allocations: 21.52 kB / 432.7 MB, free: 2.141 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.2408, allocations: 2.188 kB / 432.7 MB, free: 2.141 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.2408, allocations: 19.25 kB / 432.7 MB, free: 2.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.2409, allocations: 8.172 kB / 432.7 MB, free: 2.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.2413, allocations: 122.3 kB / 432.8 MB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.104e-05/0.2413, allocations: 56.94 kB / 432.9 MB, free: 1.965 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.572e-05/0.2413, allocations: 5 kB / 432.9 MB, free: 1.965 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.2414, allocations: 53.38 kB / 432.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2414, allocations: 0 / 432.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of Templates: time 0.001828/0.2432, allocations: 0.5928 MB / 433.5 MB, free: 1.918 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3394392346963286]