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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8177/0.8177, allocations: 143.4 MB / 159.2 MB, free: 4.871 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001125, allocations: 178.8 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 91.75 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 281.3 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 80.22 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3455, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4812/0.8267, allocations: 159.2 MB / 0.9234 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004656/0.8314, allocations: 3.516 MB / 0.9268 GB, free: 456 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004319/0.8318, allocations: 7.969 kB / 0.9269 GB, free: 456 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.8323, allocations: 100.2 kB / 0.9269 GB, free: 456 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.8334, allocations: 436.8 kB / 0.9274 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.8349, allocations: 0.5196 MB / 0.9279 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007208/0.8356, allocations: 0.8169 MB / 0.9287 GB, free: 404 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.8359, allocations: 202.7 kB / 0.9289 GB, free: 380 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.8374, allocations: 306.4 kB / 0.9292 GB, free: 376 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.8377, allocations: 204 kB / 0.9293 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.8377, allocations: 13.81 kB / 0.9294 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009721/0.8387, allocations: 0.629 MB / 0.93 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.8388, allocations: 88.75 kB / 0.9301 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.839, allocations: 132.5 kB / 0.9302 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007288/0.8397, allocations: 0.5647 MB / 0.9307 GB, free: 332 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8397, allocations: 1.188 kB / 0.9307 GB, free: 332 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.81e-07/0.8397, allocations: 0 / 0.9307 GB, free: 332 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.8397, allocations: 0 / 0.9307 GB, free: 332 kB / 0.5573 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.0009926/0.8407, allocations: 0.6359 MB / 0.9314 GB, free: 15.86 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.8408, allocations: 8.969 kB / 0.9314 GB, free: 15.86 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004618/0.8412, allocations: 76.83 kB / 0.9314 GB, free: 15.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.8416, allocations: 280.2 kB / 0.9317 GB, free: 15.62 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.8416, allocations: 22.81 kB / 0.9317 GB, free: 15.61 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.8417, allocations: 20.41 kB / 0.9318 GB, free: 15.61 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.8423, allocations: 309.5 kB / 0.932 GB, free: 15.54 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8423, allocations: 4.109 kB / 0.932 GB, free: 15.54 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.8423, allocations: 14.03 kB / 0.9321 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.8423, allocations: 5 kB / 0.9321 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006853/0.843, allocations: 249.7 kB / 0.9323 GB, free: 15.52 MB / 0.573 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.001658/0.8447, allocations: 1.25 MB / 0.9335 GB, free: 14.65 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.8451, allocations: 182.3 kB / 0.9337 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.8454, allocations: 125.3 kB / 0.9338 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005522/0.846, allocations: 304 kB / 0.9341 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.846, allocations: 34.94 kB / 0.9341 GB, free: 14.29 MB / 0.573 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.846, allocations: 0 / 0.9341 GB, free: 14.29 MB / 0.573 GB Notification: Performance of matching and sorting (n=14): time 0.00222/0.8482, allocations: 0.5706 MB / 0.9347 GB, free: 14.13 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.8483, allocations: 55.41 kB / 0.9348 GB, free: 14.06 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.8485, allocations: 256.3 kB / 0.935 GB, free: 13.96 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.8486, allocations: 28.36 kB / 0.935 GB, free: 13.93 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.8487, allocations: 165 kB / 0.9352 GB, free: 13.82 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.8487, allocations: 51.67 kB / 0.9352 GB, free: 13.79 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.8488, allocations: 36.2 kB / 0.9353 GB, free: 13.77 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.8489, allocations: 336.4 kB / 0.9356 GB, free: 13.46 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.8492, allocations: 101.5 kB / 0.9357 GB, free: 13.45 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.8495, allocations: 133.8 kB / 0.9358 GB, free: 13.41 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.85, allocations: 241 kB / 0.936 GB, free: 13.37 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.85, allocations: 1.406 kB / 0.936 GB, free: 13.37 MB / 0.573 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001086/0.8511, allocations: 353.7 kB / 0.9364 GB, free: 13.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8512, allocations: 5.719 kB / 0.9364 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.8512, allocations: 1.312 kB / 0.9364 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/0.8518, allocations: 89.39 kB / 0.9365 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.852, allocations: 42.12 kB / 0.9365 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.8541, allocations: 1.606 MB / 0.9381 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.8544, allocations: 32.92 kB / 0.9381 GB, free: 11.99 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.8544, allocations: 9.125 kB / 0.9381 GB, free: 11.99 MB / 0.573 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.0001675/0.8546, allocations: 161.1 kB / 0.9383 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.8547, allocations: 23.19 kB / 0.9383 GB, free: 11.85 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.8559, allocations: 364.3 kB / 0.9386 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.8559, allocations: 2.969 kB / 0.9386 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.8559, allocations: 0 / 0.9386 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8559, allocations: 4 kB / 0.9386 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.8576, allocations: 0.7767 MB / 0.9394 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.8576, allocations: 0 / 0.9394 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.8578, allocations: 39.62 kB / 0.9394 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.8582, allocations: 92.88 kB / 0.9395 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.8583, allocations: 6.031 kB / 0.9395 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.86, allocations: 1.624 MB / 0.9411 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.86, allocations: 3.062 kB / 0.9411 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.8616, allocations: 1.151 MB / 0.9423 GB, free: 9.367 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.8618, allocations: 122.5 kB / 0.9424 GB, free: 9.258 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.8618, allocations: 6.625 kB / 0.9424 GB, free: 9.258 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.8621, allocations: 34.27 kB / 0.9424 GB, free: 9.25 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.8622, allocations: 17.22 kB / 0.9424 GB, free: 9.246 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.8622, allocations: 6.781 kB / 0.9424 GB, free: 9.246 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001477/0.8623, allocations: 192.9 kB / 0.9426 GB, free: 9.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8623, allocations: 0 / 0.9426 GB, free: 9.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005098/0.8629, allocations: 81.16 kB / 0.9427 GB, free: 9.152 MB / 0.573 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.0003483/0.8632, allocations: 158.1 kB / 0.9428 GB, free: 9.055 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009375/0.8642, allocations: 364.1 kB / 0.9432 GB, free: 8.934 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.8642, allocations: 0 / 0.9432 GB, free: 8.934 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005438/0.8647, allocations: 257.6 kB / 0.9434 GB, free: 8.816 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.8654, allocations: 124.7 kB / 0.9436 GB, free: 8.805 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009376/0.8664, allocations: 0.7427 MB / 0.9443 GB, free: 8.336 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.8667, allocations: 0.7741 MB / 0.945 GB, free: 7.633 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.8669, allocations: 53.55 kB / 0.9451 GB, free: 7.621 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.867, allocations: 18.91 kB / 0.9451 GB, free: 7.613 MB / 0.573 GB Notification: Performance of SimCode: time 4.1e-07/0.867, allocations: 0 / 0.9451 GB, free: 7.613 MB / 0.573 GB Notification: Performance of Templates: time 0.008701/0.8757, allocations: 5.681 MB / 0.9507 GB, free: 7.27 MB / 0.573 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)