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.001481/0.001481, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001609/0.001609, allocations: 158.7 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.338/1.338, allocations: 177.2 MB / 203.4 MB, free: 8.922 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002351/0.002351, allocations: 244.9 kB / 260 MB, free: 440 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8781/0.8781, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002962/0.002962, allocations: 114.4 kB / 0.6474 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4076, allocations: 95.34 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001964/0.4096, allocations: 1.301 MB / 0.7417 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000811/0.4104, allocations: 0.5262 MB / 0.7422 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.4105, allocations: 9.25 kB / 0.7422 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.4105, allocations: 0.5625 kB / 0.7422 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.4105, allocations: 5.969 kB / 0.7423 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.411, allocations: 149.4 kB / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 4.747e-05/0.411, allocations: 19.81 kB / 0.7424 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.4111, allocations: 1.688 kB / 0.7424 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.4111, allocations: 5.562 kB / 0.7424 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.4111, allocations: 14.7 kB / 0.7424 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.4112, allocations: 5.219 kB / 0.7424 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.4116, allocations: 268.2 kB / 0.7427 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.4116, allocations: 2.422 kB / 0.7427 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.4116, allocations: 8.281 kB / 0.7427 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.4118, allocations: 141.9 kB / 0.7428 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4118, allocations: 0 / 0.7428 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4119, allocations: 1.844 kB / 0.7428 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.4119, allocations: 3.938 kB / 0.7428 GB, free: 15.96 MB / 0.5919 GB 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.0003175/0.4122, allocations: 280.9 kB / 0.7431 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.4122, allocations: 10.06 kB / 0.7431 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.4122, allocations: 10.94 kB / 0.7431 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.763e-05/0.4123, allocations: 112.4 kB / 0.7432 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4123, allocations: 1.75 kB / 0.7432 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.4123, allocations: 2.125 kB / 0.7432 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.851e-05/0.4124, allocations: 40.92 kB / 0.7433 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4124, allocations: 0.75 kB / 0.7433 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.4124, allocations: 5.156 kB / 0.7433 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.4124, allocations: 3.984 kB / 0.7433 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.4125, allocations: 15.5 kB / 0.7433 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.4127, allocations: 194.9 kB / 0.7435 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.4129, allocations: 52.72 kB / 0.7435 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.4129, allocations: 17.88 kB / 0.7436 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.4129, allocations: 6.422 kB / 0.7436 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.413, allocations: 32.92 kB / 0.7436 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.413, allocations: 0 / 0.7436 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4): time 0.0001546/0.4131, allocations: 59.7 kB / 0.7437 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.4131, allocations: 51.41 kB / 0.7437 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.4132, allocations: 101.4 kB / 0.7438 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/0.4132, allocations: 25.7 kB / 0.7438 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.4132, allocations: 90.69 kB / 0.7439 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.638e-06/0.4132, allocations: 13.59 kB / 0.7439 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.4132, allocations: 18.91 kB / 0.7439 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.82e-05/0.4133, allocations: 313.7 kB / 0.7442 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.4133, allocations: 13.72 kB / 0.7443 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.4133, allocations: 17.88 kB / 0.7443 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.418e-05/0.4134, allocations: 38.67 kB / 0.7443 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4134, allocations: 0 / 0.7443 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.621e-05/0.4135, allocations: 59.92 kB / 0.7444 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4135, allocations: 5.344 kB / 0.7444 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4135, allocations: 4.734 kB / 0.7444 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4135, allocations: 1.344 kB / 0.7444 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.539e-05/0.4135, allocations: 11.38 kB / 0.7444 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4135, allocations: 2.109 kB / 0.7444 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.4136, allocations: 5.188 kB / 0.7444 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.4136, allocations: 2.781 kB / 0.7444 GB, free: 14.41 MB / 0.5919 GB 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 3.856e-05/0.4136, allocations: 108.1 kB / 0.7445 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.4136, allocations: 10.19 kB / 0.7445 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.4137, allocations: 66.11 kB / 0.7446 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4137, allocations: 5.438 kB / 0.7446 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4137, allocations: 0 / 0.7446 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4138, allocations: 0.75 kB / 0.7446 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.49e-05/0.4138, allocations: 108.1 kB / 0.7447 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4138, allocations: 1.781 kB / 0.7447 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.4139, allocations: 10.55 kB / 0.7447 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4139, allocations: 3.938 kB / 0.7447 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4139, allocations: 6.078 kB / 0.7447 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4139, allocations: 0 / 0.7447 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4139, allocations: 0 / 0.7447 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.43e-05/0.414, allocations: 145.4 kB / 0.7448 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.414, allocations: 13.36 kB / 0.7449 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.414, allocations: 2.156 kB / 0.7449 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.4141, allocations: 0.7031 kB / 0.7449 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.4141, allocations: 2.469 kB / 0.7449 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.4141, allocations: 1.125 kB / 0.7449 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.757e-05/0.4141, allocations: 79.64 kB / 0.7449 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4141, allocations: 0 / 0.7449 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002377/0.4143, allocations: 22.47 kB / 0.745 GB, free: 13.86 MB / 0.5919 GB 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.0001366/0.4145, allocations: 129.6 kB / 0.7451 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.306e-05/0.4146, allocations: 24.45 kB / 0.7451 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4146, allocations: 1.281 kB / 0.7451 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.925e-05/0.4146, allocations: 11.69 kB / 0.7451 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.4148, allocations: 2.078 kB / 0.7451 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.415, allocations: 126 kB / 0.7452 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.4151, allocations: 60.59 kB / 0.7453 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.4151, allocations: 10.94 kB / 0.7453 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.4151, allocations: 10.69 kB / 0.7453 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.4151, allocations: 0 / 0.7453 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of Templates: time 0.002643/0.4178, allocations: 0.4997 MB / 0.7458 GB, free: 13.45 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.534365930012427] Failed to read output from testmodel.py, exit status != 0: 0.4250468589598313 0.43500238300000005 0.020810746 Calling exit ...