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.001332/0.001332, allocations: 107.2 kB / 16.41 MB, free: 6.395 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.001301/0.001301, allocations: 189.2 kB / 17.34 MB, free: 5.691 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 297.2 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003103/0.003103, allocations: 99.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.5022, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1991/0.7013, allocations: 161.9 MB / 0.9252 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005433/0.7068, allocations: 3.494 MB / 0.9286 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.7071, allocations: 11.88 kB / 0.9286 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.7076, allocations: 135 kB / 0.9288 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.7089, allocations: 473.8 kB / 0.9292 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.7106, allocations: 0.607 MB / 0.9298 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008229/0.7114, allocations: 0.6244 MB / 0.9304 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.7117, allocations: 192.7 kB / 0.9306 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.713, allocations: 357 kB / 0.9309 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.7133, allocations: 195.2 kB / 0.9311 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.7134, allocations: 20 kB / 0.9311 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.7144, allocations: 0.5534 MB / 0.9317 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.7146, allocations: 103.6 kB / 0.9318 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.7147, allocations: 143.3 kB / 0.9319 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.7157, allocations: 0.5703 MB / 0.9325 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7157, allocations: 0 / 0.9325 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7157, allocations: 0 / 0.9325 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.7157, allocations: 3.938 kB / 0.9325 GB, free: 9.918 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.001181/0.7169, allocations: 0.6384 MB / 0.9331 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.7169, allocations: 8.031 kB / 0.9331 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.7174, allocations: 75.69 kB / 0.9332 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.7179, allocations: 309.5 kB / 0.9335 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.7179, allocations: 20.44 kB / 0.9335 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.718, allocations: 20 kB / 0.9335 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.7187, allocations: 312.1 kB / 0.9338 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7187, allocations: 0 / 0.9338 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.7187, allocations: 12 kB / 0.9338 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.7187, allocations: 11.88 kB / 0.9338 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.7194, allocations: 248.9 kB / 0.9341 GB, free: 8.18 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.001789/0.7212, allocations: 1.241 MB / 0.9353 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.7217, allocations: 166.5 kB / 0.9354 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.722, allocations: 120.8 kB / 0.9356 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/0.7226, allocations: 307.2 kB / 0.9359 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.7227, allocations: 30.56 kB / 0.9359 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 3.456e-06/0.7227, allocations: 3.984 kB / 0.9359 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.00247/0.7251, allocations: 0.5863 MB / 0.9365 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.7252, allocations: 51.41 kB / 0.9365 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.7255, allocations: 263 kB / 0.9368 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.7255, allocations: 29.7 kB / 0.9368 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.7257, allocations: 164.4 kB / 0.9369 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.7257, allocations: 47.53 kB / 0.937 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.7258, allocations: 41.66 kB / 0.937 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.726, allocations: 334.8 kB / 0.9373 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.7263, allocations: 95.83 kB / 0.9374 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.7266, allocations: 140.2 kB / 0.9376 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.7273, allocations: 237.7 kB / 0.9378 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.7273, allocations: 4 kB / 0.9378 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001348/0.7287, allocations: 354 kB / 0.9381 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.7287, allocations: 4 kB / 0.9381 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7287, allocations: 0 / 0.9381 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/0.7294, allocations: 88.89 kB / 0.9382 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.7297, allocations: 39.95 kB / 0.9383 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.7325, allocations: 1.716 MB / 0.9399 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.7328, allocations: 47.86 kB / 0.94 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.7328, allocations: 4 kB / 0.94 GB, free: 1.672 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.000275/0.7331, allocations: 144.2 kB / 0.9401 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.7332, allocations: 24.05 kB / 0.9402 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.7344, allocations: 366.5 kB / 0.9405 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.7344, allocations: 7.938 kB / 0.9405 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.7344, allocations: 4 kB / 0.9405 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7344, allocations: 0 / 0.9405 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.7363, allocations: 0.7785 MB / 0.9413 GB, free: 284 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7363, allocations: 4 kB / 0.9413 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.7365, allocations: 40 kB / 0.9413 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.7369, allocations: 76.77 kB / 0.9414 GB, free: 160 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.737, allocations: 7.938 kB / 0.9414 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.7392, allocations: 1.735 MB / 0.9431 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7392, allocations: 64 / 0.9431 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.7404, allocations: 462.5 kB / 0.9435 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.7406, allocations: 128.8 kB / 0.9437 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.7406, allocations: 4 kB / 0.9437 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.7409, allocations: 27.84 kB / 0.9437 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.741, allocations: 27.91 kB / 0.9437 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.741, allocations: 8 kB / 0.9437 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000204/0.7412, allocations: 190 kB / 0.9439 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7412, allocations: 0 / 0.9439 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004667/0.7417, allocations: 75.89 kB / 0.944 GB, free: 13.32 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.0004667/0.7422, allocations: 165 kB / 0.9441 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.7433, allocations: 354.4 kB / 0.9445 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7433, allocations: 0 / 0.9445 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.7439, allocations: 254.8 kB / 0.9447 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.7447, allocations: 120.3 kB / 0.9448 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.7457, allocations: 0.5179 MB / 0.9453 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.7461, allocations: 0.7714 MB / 0.9461 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.7463, allocations: 62.23 kB / 0.9461 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.7464, allocations: 19.44 kB / 0.9462 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of SimCode: time 1.093e-06/0.7464, allocations: 0 / 0.9462 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of Templates: time 0.01251/0.7589, allocations: 6.005 MB / 0.952 GB, free: 5.07 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)