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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 106.1 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002135, allocations: 281.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9056/0.9056, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 91.86 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4985, allocations: 86.97 MB / 0.767 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1769/0.6754, allocations: 161.5 MB / 0.9248 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004965/0.6804, allocations: 3.486 MB / 0.9282 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003925/0.6808, allocations: 7.938 kB / 0.9282 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.6813, allocations: 143 kB / 0.9283 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.6826, allocations: 453.9 kB / 0.9287 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.6842, allocations: 0.5992 MB / 0.9293 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.000825/0.685, allocations: 0.6205 MB / 0.9299 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.6855, allocations: 224.7 kB / 0.9301 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.6868, allocations: 347.4 kB / 0.9305 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.6872, allocations: 191.2 kB / 0.9307 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.6873, allocations: 28 kB / 0.9307 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009781/0.6882, allocations: 0.5456 MB / 0.9312 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.6884, allocations: 107.6 kB / 0.9313 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.6885, allocations: 143.3 kB / 0.9315 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009729/0.6895, allocations: 0.5558 MB / 0.932 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6895, allocations: 0 / 0.932 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6895, allocations: 3.938 kB / 0.932 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.6896, allocations: 0 / 0.932 GB, free: 10.33 MB / 0.7012 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.001138/0.6907, allocations: 0.635 MB / 0.9326 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.6908, allocations: 12.03 kB / 0.9326 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005628/0.6913, allocations: 75.52 kB / 0.9327 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.6918, allocations: 317.2 kB / 0.933 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.6918, allocations: 12.44 kB / 0.933 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.6918, allocations: 20 kB / 0.933 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.6925, allocations: 316.1 kB / 0.9333 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.6925, allocations: 3.938 kB / 0.9333 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.6925, allocations: 8 kB / 0.9334 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.6925, allocations: 11.94 kB / 0.9334 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.6932, allocations: 244.9 kB / 0.9336 GB, free: 8.59 MB / 0.7012 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.001579/0.6948, allocations: 1.24 MB / 0.9348 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.6952, allocations: 182.5 kB / 0.935 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.6955, allocations: 120.8 kB / 0.9351 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/0.6961, allocations: 307.2 kB / 0.9354 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.6962, allocations: 34.56 kB / 0.9354 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.6962, allocations: 0 / 0.9354 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.002291/0.6985, allocations: 0.5711 MB / 0.936 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.6985, allocations: 51.41 kB / 0.936 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.6988, allocations: 263 kB / 0.9363 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.6988, allocations: 29.7 kB / 0.9363 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.6989, allocations: 168.1 kB / 0.9365 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.699, allocations: 47.3 kB / 0.9365 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.699, allocations: 33.72 kB / 0.9365 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6992, allocations: 334.8 kB / 0.9369 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.6995, allocations: 99.84 kB / 0.937 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.6998, allocations: 140.1 kB / 0.9371 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.7004, allocations: 236.1 kB / 0.9373 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7004, allocations: 0 / 0.9373 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001167/0.7015, allocations: 355.8 kB / 0.9377 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7016, allocations: 8 kB / 0.9377 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7016, allocations: 0 / 0.9377 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/0.7022, allocations: 96.81 kB / 0.9378 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.7024, allocations: 35.97 kB / 0.9378 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.7046, allocations: 1.734 MB / 0.9395 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.7049, allocations: 35.81 kB / 0.9395 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.7049, allocations: 4 kB / 0.9395 GB, free: 2.078 MB / 0.7012 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.0001506/0.7051, allocations: 148.3 kB / 0.9397 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.7051, allocations: 27.62 kB / 0.9397 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.7063, allocations: 363.9 kB / 0.94 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7063, allocations: 7.938 kB / 0.94 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.7063, allocations: 0 / 0.94 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7063, allocations: 0 / 0.94 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.7079, allocations: 0.7824 MB / 0.9408 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.7079, allocations: 0 / 0.9408 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.7081, allocations: 35.91 kB / 0.9408 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/0.7086, allocations: 89.03 kB / 0.9409 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.7086, allocations: 3.938 kB / 0.9409 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.7106, allocations: 1.735 MB / 0.9426 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7106, allocations: 4.031 kB / 0.9426 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.7117, allocations: 454.3 kB / 0.9431 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.7118, allocations: 116.8 kB / 0.9432 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.7119, allocations: 11.98 kB / 0.9432 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.7121, allocations: 23.91 kB / 0.9432 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.7122, allocations: 19.92 kB / 0.9432 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.7122, allocations: 8 kB / 0.9432 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001652/0.7124, allocations: 190 kB / 0.9434 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7124, allocations: 0 / 0.9434 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004321/0.7129, allocations: 91.83 kB / 0.9435 GB, free: 13.72 MB / 0.7169 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.0004065/0.7133, allocations: 157.5 kB / 0.9437 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009811/0.7143, allocations: 370.4 kB / 0.944 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.7143, allocations: 4 kB / 0.944 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.7148, allocations: 254.8 kB / 0.9443 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.7156, allocations: 125.6 kB / 0.9444 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.7165, allocations: 0.5245 MB / 0.9449 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.7168, allocations: 0.7714 MB / 0.9456 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.7169, allocations: 27.44 kB / 0.9457 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.7169, allocations: 0 / 0.9457 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of Templates: time 0.008147/0.7251, allocations: 5.431 MB / 0.951 GB, free: 6.02 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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)