Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.002561/0.002561, allocations: 287.6 kB / 306.5 MB, free: 8.352 MB / 238.1 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 1.211/1.211, allocations: 180.8 MB / 0.53 GB, free: 14.41 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 101.5 kB / 0.7308 GB, free: 38.96 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1992, allocations: 94.19 MB / 0.8228 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2118/0.411, allocations: 162.2 MB / 0.9812 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005571/0.4166, allocations: 3.532 MB / 0.9846 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.417, allocations: 15.88 kB / 0.9847 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005145/0.4175, allocations: 131 kB / 0.9848 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.4188, allocations: 481.9 kB / 0.9852 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.4205, allocations: 0.6296 MB / 0.9859 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008158/0.4214, allocations: 0.6361 MB / 0.9865 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.4217, allocations: 192.8 kB / 0.9867 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.4231, allocations: 352.4 kB / 0.987 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.4234, allocations: 203.2 kB / 0.9872 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.4235, allocations: 20 kB / 0.9872 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.4246, allocations: 0.5884 MB / 0.9878 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.4247, allocations: 115.6 kB / 0.9879 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.4249, allocations: 139.3 kB / 0.988 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009447/0.4258, allocations: 0.5528 MB / 0.9886 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4259, allocations: 4 kB / 0.9886 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4259, allocations: 0 / 0.9886 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.4259, allocations: 0 / 0.9886 GB, free: 7.504 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00116/0.427, allocations: 0.5669 MB / 0.9891 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.4271, allocations: 12.03 kB / 0.9891 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005309/0.4276, allocations: 79.7 kB / 0.9892 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.4281, allocations: 251.6 kB / 0.9895 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4281, allocations: 20.44 kB / 0.9895 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.4281, allocations: 19.98 kB / 0.9895 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.4288, allocations: 308.2 kB / 0.9898 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4288, allocations: 4 kB / 0.9898 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.4289, allocations: 15.94 kB / 0.9898 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.4289, allocations: 7.938 kB / 0.9898 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.4296, allocations: 244.9 kB / 0.99 GB, free: 5.922 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.4314, allocations: 1.218 MB / 0.9912 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.4319, allocations: 158.5 kB / 0.9914 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.4322, allocations: 120.8 kB / 0.9915 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005052/0.4327, allocations: 71.91 kB / 0.9916 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.4327, allocations: 30.56 kB / 0.9916 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.4327, allocations: 0 / 0.9916 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.002331/0.4351, allocations: 0.5116 MB / 0.9921 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.4351, allocations: 55.41 kB / 0.9922 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.4354, allocations: 256.2 kB / 0.9924 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.4355, allocations: 29.7 kB / 0.9924 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.4356, allocations: 172.2 kB / 0.9926 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.4356, allocations: 47.56 kB / 0.9926 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.4357, allocations: 45.67 kB / 0.9927 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4359, allocations: 330.8 kB / 0.993 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.4362, allocations: 95.91 kB / 0.9931 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.4366, allocations: 141.7 kB / 0.9932 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.4372, allocations: 237.2 kB / 0.9934 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4372, allocations: 0 / 0.9934 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001227/0.4384, allocations: 354 kB / 0.9938 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4384, allocations: 7.984 kB / 0.9938 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4385, allocations: 4 kB / 0.9938 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/0.4391, allocations: 84.89 kB / 0.9939 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.4393, allocations: 39.97 kB / 0.9939 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.4419, allocations: 1.626 MB / 0.9955 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.4422, allocations: 31.86 kB / 0.9955 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.4422, allocations: 11.98 kB / 0.9955 GB, free: 15.94 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.4424, allocations: 142.5 kB / 0.9957 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.4425, allocations: 27.84 kB / 0.9957 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.4437, allocations: 370.8 kB / 0.9961 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.4437, allocations: 0 / 0.9961 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.4437, allocations: 0 / 0.9961 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4437, allocations: 0 / 0.9961 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.4455, allocations: 0.762 MB / 0.9968 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4455, allocations: 0 / 0.9968 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.4456, allocations: 31.97 kB / 0.9968 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/0.4461, allocations: 84.83 kB / 0.9969 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.4462, allocations: 7.938 kB / 0.9969 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.4483, allocations: 1.637 MB / 0.9985 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4483, allocations: 0 / 0.9985 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.4495, allocations: 454.5 kB / 0.999 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.4496, allocations: 55.66 kB / 0.999 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.4496, allocations: 8 kB / 0.999 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.4499, allocations: 27.91 kB / 0.999 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.45, allocations: 15.97 kB / 0.9991 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.45, allocations: 15.94 kB / 0.9991 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001943/0.4502, allocations: 183.1 kB / 0.9992 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.4502, allocations: 0 / 0.9992 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004375/0.4506, allocations: 87.88 kB / 0.9993 GB, free: 11.84 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004639/0.4511, allocations: 160.2 kB / 0.9995 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.4522, allocations: 354.6 kB / 0.9998 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4522, allocations: 0 / 0.9998 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.4529, allocations: 250.5 kB / 1 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/0.4536, allocations: 123.9 kB / 1 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4547, allocations: 0.5054 MB / 1.001 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.4552, allocations: 0.7713 MB / 1.001 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.4554, allocations: 58.25 kB / 1.001 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.4555, allocations: 19.44 kB / 1.002 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.4555, allocations: 3.938 kB / 1.002 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of Templates: time 0.01237/0.4678, allocations: 6.153 MB / 1.008 GB, free: 3.453 MB / 0.7481 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.85898307710886] Failed to read output from testmodel.py, exit status != 0: 0.4759418750181794 0.8583068800000001 0.429518771 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f31df5f57b0>