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.004653/0.004653, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001231/0.001231, allocations: 193.5 kB / 16.67 MB, free: 5.492 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.00199, allocations: 283.1 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 103.8 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1648, allocations: 86.98 MB / 0.7664 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5245/0.6894, allocations: 161.5 MB / 0.9241 GB, free: 1.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00474/0.6941, allocations: 3.491 MB / 0.9275 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.6946, allocations: 11.88 kB / 0.9275 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.6951, allocations: 143 kB / 0.9276 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.6964, allocations: 445.9 kB / 0.9281 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.698, allocations: 0.6043 MB / 0.9287 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007332/0.6987, allocations: 0.6245 MB / 0.9293 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.6991, allocations: 228.6 kB / 0.9295 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.7004, allocations: 347.7 kB / 0.9298 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.7008, allocations: 195.1 kB / 0.93 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.7008, allocations: 28 kB / 0.93 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009227/0.7018, allocations: 0.5534 MB / 0.9306 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.7019, allocations: 91.72 kB / 0.9307 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.702, allocations: 139.3 kB / 0.9308 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.703, allocations: 0.5635 MB / 0.9313 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.703, allocations: 0 / 0.9313 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.372e-06/0.703, allocations: 0 / 0.9313 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.703, allocations: 0 / 0.9313 GB, free: 9.852 MB / 0.6856 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.001075/0.7041, allocations: 0.6368 MB / 0.932 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7041, allocations: 12.03 kB / 0.932 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005088/0.7046, allocations: 75.52 kB / 0.932 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.705, allocations: 309.3 kB / 0.9323 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.7051, allocations: 12.44 kB / 0.9324 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.7051, allocations: 20 kB / 0.9324 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.7057, allocations: 316.2 kB / 0.9327 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.7058, allocations: 3.984 kB / 0.9327 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.7058, allocations: 7.938 kB / 0.9327 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.7058, allocations: 8 kB / 0.9327 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.7065, allocations: 254.7 kB / 0.9329 GB, free: 8.109 MB / 0.6856 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.00154/0.708, allocations: 1.244 MB / 0.9342 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.7084, allocations: 178.5 kB / 0.9343 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.7088, allocations: 124.8 kB / 0.9344 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005619/0.7093, allocations: 307.2 kB / 0.9347 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.7094, allocations: 30.56 kB / 0.9348 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.7094, allocations: 0 / 0.9348 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14): time 0.002171/0.7115, allocations: 0.577 MB / 0.9353 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.7116, allocations: 51.41 kB / 0.9354 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.7119, allocations: 263 kB / 0.9356 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.7119, allocations: 29.7 kB / 0.9357 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.712, allocations: 168.1 kB / 0.9358 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.7121, allocations: 43.34 kB / 0.9359 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.7121, allocations: 33.72 kB / 0.9359 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7123, allocations: 334.8 kB / 0.9362 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.7126, allocations: 95.91 kB / 0.9363 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.7129, allocations: 140.1 kB / 0.9364 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/0.7135, allocations: 234.9 kB / 0.9367 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.7135, allocations: 0 / 0.9367 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001118/0.7146, allocations: 361.8 kB / 0.937 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.7146, allocations: 7.938 kB / 0.937 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7146, allocations: 0 / 0.937 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/0.7152, allocations: 92.88 kB / 0.9371 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.7155, allocations: 35.97 kB / 0.9371 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.7176, allocations: 1.724 MB / 0.9388 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.7178, allocations: 39.72 kB / 0.9389 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.7179, allocations: 4 kB / 0.9389 GB, free: 1.598 MB / 0.6856 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.0001648/0.718, allocations: 146.5 kB / 0.939 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.7181, allocations: 23.72 kB / 0.939 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.7193, allocations: 373.9 kB / 0.9394 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7193, allocations: 0 / 0.9394 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.7193, allocations: 3.938 kB / 0.9394 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7193, allocations: 3.938 kB / 0.9394 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.7209, allocations: 0.7774 MB / 0.9401 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7209, allocations: 0 / 0.9401 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.7211, allocations: 35.91 kB / 0.9402 GB, free: 168 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.7216, allocations: 84.86 kB / 0.9403 GB, free: 80 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.7216, allocations: 7.938 kB / 0.9403 GB, free: 72 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.7235, allocations: 1.739 MB / 0.942 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7235, allocations: 0 / 0.942 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.7246, allocations: 454.3 kB / 0.9424 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.7247, allocations: 120.8 kB / 0.9425 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.7248, allocations: 7.938 kB / 0.9425 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.725, allocations: 23.91 kB / 0.9425 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.7251, allocations: 23.91 kB / 0.9426 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.7252, allocations: 8 kB / 0.9426 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001656/0.7253, allocations: 190 kB / 0.9428 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7253, allocations: 0 / 0.9428 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004307/0.7258, allocations: 87.84 kB / 0.9428 GB, free: 13.24 MB / 0.7012 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.0003663/0.7261, allocations: 160.7 kB / 0.943 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.7272, allocations: 370.4 kB / 0.9433 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7272, allocations: 0 / 0.9433 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.7278, allocations: 262.8 kB / 0.9436 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.7285, allocations: 113.2 kB / 0.9437 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.7294, allocations: 0.5053 MB / 0.9442 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.7298, allocations: 0.7714 MB / 0.945 GB, free: 11 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002143/0.73, allocations: 54.25 kB / 0.945 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.7301, allocations: 23.44 kB / 0.945 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.7301, allocations: 0 / 0.945 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of Templates: time 0.01138/0.7415, allocations: 6.102 MB / 0.951 GB, free: 4.906 MB / 0.7012 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)