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.001352/0.001352, allocations: 78.73 kB / 19.01 MB, free: 2.859 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.001425/0.001425, allocations: 160.3 kB / 22.26 MB, free: 5.105 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.428/1.428, allocations: 177.2 MB / 202.6 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] 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.002424/0.002424, allocations: 234.2 kB / 259.2 MB, free: 0.5977 MB / 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 1.111/1.111, allocations: 138.5 MB / 454.2 MB, free: 2.094 MB / 366.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.003056/0.003056, allocations: 103.8 kB / 0.6466 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4216, allocations: 95.36 MB / 0.7397 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002314/0.4239, allocations: 1.292 MB / 0.741 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.4249, allocations: 0.5357 MB / 0.7415 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.425, allocations: 0 / 0.7415 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.425, allocations: 0 / 0.7415 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.425, allocations: 7.922 kB / 0.7415 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.4255, allocations: 146.1 kB / 0.7416 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.244e-05/0.4256, allocations: 19.94 kB / 0.7417 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.4256, allocations: 8 kB / 0.7417 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.4257, allocations: 11.92 kB / 0.7417 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.4257, allocations: 15.97 kB / 0.7417 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.4257, allocations: 0 / 0.7417 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.4261, allocations: 259.5 kB / 0.7419 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.4261, allocations: 3.984 kB / 0.7419 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.4262, allocations: 19.92 kB / 0.742 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.4264, allocations: 132.7 kB / 0.7421 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4264, allocations: 0 / 0.7421 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4264, allocations: 4 kB / 0.7421 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4264, allocations: 0 / 0.7421 GB, free: 12.65 MB / 0.5762 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.0003989/0.4268, allocations: 286 kB / 0.7424 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4269, allocations: 12.69 kB / 0.7424 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.4269, allocations: 4.891 kB / 0.7424 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.427, allocations: 110.5 kB / 0.7425 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.427, allocations: 384 / 0.7425 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.427, allocations: 8.375 kB / 0.7425 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.4271, allocations: 46.17 kB / 0.7425 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4271, allocations: 4.188 kB / 0.7425 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4271, allocations: 3.938 kB / 0.7425 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4271, allocations: 0 / 0.7425 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.132e-05/0.4272, allocations: 19.98 kB / 0.7426 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.4275, allocations: 192.6 kB / 0.7428 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.4277, allocations: 46.69 kB / 0.7428 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.4277, allocations: 16.8 kB / 0.7428 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.4277, allocations: 11.92 kB / 0.7428 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4278, allocations: 30.56 kB / 0.7429 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4278, allocations: 3.938 kB / 0.7429 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.000164/0.4279, allocations: 57.69 kB / 0.7429 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.428, allocations: 51.41 kB / 0.743 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.4281, allocations: 97.86 kB / 0.7431 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.4281, allocations: 25.7 kB / 0.7431 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.4281, allocations: 96.02 kB / 0.7432 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.4281, allocations: 11.91 kB / 0.7432 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.4282, allocations: 17.72 kB / 0.7432 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4283, allocations: 314.8 kB / 0.7435 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.4283, allocations: 11.98 kB / 0.7435 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.4284, allocations: 17.72 kB / 0.7435 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.4284, allocations: 33.72 kB / 0.7436 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4284, allocations: 0 / 0.7436 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.4285, allocations: 65.56 kB / 0.7436 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4285, allocations: 8 kB / 0.7436 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4286, allocations: 3.984 kB / 0.7436 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.4286, allocations: 0 / 0.7436 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.541e-05/0.4286, allocations: 8 kB / 0.7436 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4286, allocations: 0 / 0.7436 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.4286, allocations: 0 / 0.7436 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.4286, allocations: 4 kB / 0.7436 GB, free: 10.88 MB / 0.5762 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 7.242e-05/0.4287, allocations: 105.8 kB / 0.7437 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.4287, allocations: 15.89 kB / 0.7438 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.4289, allocations: 73.69 kB / 0.7438 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4289, allocations: 4.031 kB / 0.7438 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.4289, allocations: 0 / 0.7438 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4289, allocations: 0 / 0.7438 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.429, allocations: 105.3 kB / 0.7439 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.429, allocations: 0 / 0.7439 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.4291, allocations: 11.98 kB / 0.7439 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4291, allocations: 3.938 kB / 0.744 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.4291, allocations: 4.125 kB / 0.744 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4291, allocations: 0 / 0.744 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4291, allocations: 7.984 kB / 0.744 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4292, allocations: 151.5 kB / 0.7441 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.4292, allocations: 11.83 kB / 0.7441 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.4292, allocations: 3.938 kB / 0.7441 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.4293, allocations: 0 / 0.7441 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.4293, allocations: 7.984 kB / 0.7441 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.4293, allocations: 0 / 0.7441 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.4294, allocations: 83.28 kB / 0.7442 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4294, allocations: 0 / 0.7442 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002475/0.4296, allocations: 15.94 kB / 0.7442 GB, free: 10.21 MB / 0.5762 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.0001786/0.4298, allocations: 119.1 kB / 0.7443 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.162e-05/0.4299, allocations: 27.92 kB / 0.7444 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4299, allocations: 0 / 0.7444 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.4299, allocations: 15.98 kB / 0.7444 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.4301, allocations: 0 / 0.7444 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.4304, allocations: 118.9 kB / 0.7445 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.517e-05/0.4304, allocations: 63.28 kB / 0.7446 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.4305, allocations: 12 kB / 0.7446 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.4305, allocations: 16.5 kB / 0.7446 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.4305, allocations: 0 / 0.7446 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of Templates: time 0.00274/0.4332, allocations: 0.4967 MB / 0.7451 GB, free: 9.309 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.957635764032602] Failed to read output from testmodel.py, exit status != 0: 0.44120681658387184 0.45468116 0.02534608 Calling exit ...