Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8756/0.8756, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 62.86 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3821/0.5093, allocations: 161.5 MB / 0.7422 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004436/0.5138, allocations: 3.492 MB / 0.7456 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.5141, allocations: 11.09 kB / 0.7456 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.5146, allocations: 128.9 kB / 0.7457 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.5158, allocations: 449.9 kB / 0.7461 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.5173, allocations: 0.5975 MB / 0.7467 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.518, allocations: 0.6176 MB / 0.7473 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.5184, allocations: 227.3 kB / 0.7475 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.5196, allocations: 343.6 kB / 0.7479 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.52, allocations: 197.9 kB / 0.748 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.52, allocations: 21.41 kB / 0.7481 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009136/0.521, allocations: 0.5483 MB / 0.7486 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.5211, allocations: 97.25 kB / 0.7487 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.5212, allocations: 139.2 kB / 0.7488 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008254/0.5221, allocations: 0.5419 MB / 0.7494 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5221, allocations: 3.984 kB / 0.7494 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5221, allocations: 0 / 0.7494 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.5221, allocations: 0 / 0.7494 GB, free: 2.598 MB / 0.5606 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.001003/0.5231, allocations: 0.6329 MB / 0.75 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5232, allocations: 9.562 kB / 0.75 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.5232, allocations: 58.75 kB / 0.75 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004998/0.5237, allocations: 78.81 kB / 0.7501 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.5241, allocations: 295.4 kB / 0.7504 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5241, allocations: 15.81 kB / 0.7504 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.5241, allocations: 17.47 kB / 0.7504 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/0.5247, allocations: 312.9 kB / 0.7507 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5248, allocations: 4 kB / 0.7507 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.5248, allocations: 10.19 kB / 0.7507 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5248, allocations: 4.969 kB / 0.7507 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.5254, allocations: 250.4 kB / 0.751 GB, free: 1.305 MB / 0.5606 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.001471/0.5269, allocations: 1.246 MB / 0.7522 GB, free: 156 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.5273, allocations: 180.8 kB / 0.7524 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.5277, allocations: 119.7 kB / 0.7525 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.5282, allocations: 305.5 kB / 0.7528 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.5283, allocations: 33.09 kB / 0.7528 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.5283, allocations: 0 / 0.7528 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002166/0.5304, allocations: 0.581 MB / 0.7534 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.5305, allocations: 51.41 kB / 0.7534 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.5307, allocations: 250.8 kB / 0.7537 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.5307, allocations: 29.7 kB / 0.7537 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5309, allocations: 163.7 kB / 0.7539 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.5309, allocations: 56.53 kB / 0.7539 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.531, allocations: 30.62 kB / 0.7539 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5311, allocations: 340.8 kB / 0.7543 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.5314, allocations: 98.06 kB / 0.7544 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.5317, allocations: 131.8 kB / 0.7545 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.5323, allocations: 242.8 kB / 0.7547 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5323, allocations: 0 / 0.7547 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001119/0.5334, allocations: 358.8 kB / 0.7551 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5334, allocations: 4 kB / 0.7551 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5334, allocations: 3.984 kB / 0.7551 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.534, allocations: 92.83 kB / 0.7551 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.5343, allocations: 35.97 kB / 0.7552 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.5364, allocations: 1.73 MB / 0.7569 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.5366, allocations: 35.81 kB / 0.7569 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.5367, allocations: 7.938 kB / 0.7569 GB, free: 11.81 MB / 0.5762 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.00014/0.5368, allocations: 147.1 kB / 0.7571 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.5369, allocations: 27.7 kB / 0.7571 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.538, allocations: 363.7 kB / 0.7574 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5381, allocations: 4 kB / 0.7574 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.5381, allocations: 0 / 0.7574 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5381, allocations: 0 / 0.7574 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.5397, allocations: 0.7785 MB / 0.7582 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5397, allocations: 4 kB / 0.7582 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.5399, allocations: 35.91 kB / 0.7582 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.5403, allocations: 84.8 kB / 0.7583 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.5404, allocations: 4 kB / 0.7583 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.5422, allocations: 1.733 MB / 0.76 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5422, allocations: 0 / 0.76 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.5433, allocations: 460.8 kB / 0.7604 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5435, allocations: 127.4 kB / 0.7606 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.5435, allocations: 3.938 kB / 0.7606 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.5437, allocations: 23.97 kB / 0.7606 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.5438, allocations: 23.91 kB / 0.7606 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.5439, allocations: 8 kB / 0.7606 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001672/0.544, allocations: 186 kB / 0.7608 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.544, allocations: 0 / 0.7608 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004122/0.5445, allocations: 87.84 kB / 0.7609 GB, free: 7.469 MB / 0.5762 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.001568/0.546, allocations: 1.026 MB / 0.7619 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.5471, allocations: 388.7 kB / 0.7623 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5471, allocations: 0 / 0.7623 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.5476, allocations: 254.7 kB / 0.7625 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.5484, allocations: 133 kB / 0.7626 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.5529, allocations: 2.788 MB / 0.7654 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.5533, allocations: 0.779 MB / 0.7661 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.5535, allocations: 52.05 kB / 0.7662 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5536, allocations: 79.36 kB / 0.7662 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.5536, allocations: 0 / 0.7662 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.332/1.886, allocations: 8.567 MB / 0.7746 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.93, allocations: 11.98 kB / 0.7746 GB, free: 9.43 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)