Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_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.0007905/0.0007905, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009198/0.0009199, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7642/0.7642, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.000321, allocations: 12 kB / 0.5035 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.449, allocations: 81.58 MB / 0.5832 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1775/0.6265, allocations: 146.6 MB / 0.7264 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005301/0.6319, allocations: 3.255 MB / 0.7295 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/0.6325, allocations: 11.94 kB / 0.7295 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.633, allocations: 91.28 kB / 0.7296 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.6344, allocations: 342.4 kB / 0.73 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.636, allocations: 464.9 kB / 0.7304 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009512/0.6369, allocations: 0.7023 MB / 0.7311 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.6373, allocations: 176.4 kB / 0.7313 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007964/0.6381, allocations: 287 kB / 0.7315 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.6385, allocations: 183.2 kB / 0.7317 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.6386, allocations: 15.98 kB / 0.7317 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009006/0.6395, allocations: 315.3 kB / 0.732 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.6397, allocations: 79.78 kB / 0.7321 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.6398, allocations: 77.52 kB / 0.7322 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.6404, allocations: 351.2 kB / 0.7325 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6404, allocations: 0 / 0.7325 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6404, allocations: 0 / 0.7325 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.6404, allocations: 0 / 0.7325 GB, free: 7.051 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.00109/0.6415, allocations: 0.5962 MB / 0.7331 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.6416, allocations: 8.031 kB / 0.7331 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.586e-05/0.6417, allocations: 54.55 kB / 0.7331 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005028/0.6422, allocations: 75.56 kB / 0.7332 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.6426, allocations: 297.4 kB / 0.7335 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.6426, allocations: 12.44 kB / 0.7335 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.6427, allocations: 20 kB / 0.7335 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.6433, allocations: 332.2 kB / 0.7338 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6433, allocations: 3.938 kB / 0.7339 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.6434, allocations: 4 kB / 0.7339 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.6434, allocations: 15.88 kB / 0.7339 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.644, allocations: 280.9 kB / 0.7341 GB, free: 5.258 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.001704/0.6458, allocations: 1.248 MB / 0.7354 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.6462, allocations: 198.5 kB / 0.7355 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.6465, allocations: 144.7 kB / 0.7357 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/0.6471, allocations: 315.2 kB / 0.736 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.6472, allocations: 34.56 kB / 0.736 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.6472, allocations: 0 / 0.736 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.00207/0.6493, allocations: 0.62 MB / 0.7366 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.6493, allocations: 51.41 kB / 0.7367 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.6496, allocations: 250.7 kB / 0.7369 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.6496, allocations: 29.7 kB / 0.7369 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.6497, allocations: 164.1 kB / 0.7371 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.6498, allocations: 55.28 kB / 0.7371 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.6498, allocations: 0 / 0.7371 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6499, allocations: 346.8 kB / 0.7375 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.6502, allocations: 107.9 kB / 0.7376 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.6505, allocations: 154.4 kB / 0.7377 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.6508, allocations: 128 kB / 0.7379 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6508, allocations: 0 / 0.7379 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001079/0.6519, allocations: 384.4 kB / 0.7382 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6519, allocations: 4 kB / 0.7382 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6519, allocations: 0 / 0.7382 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.6525, allocations: 88.89 kB / 0.7383 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.6527, allocations: 51.89 kB / 0.7384 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.6548, allocations: 1.605 MB / 0.7399 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.655, allocations: 48.06 kB / 0.74 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.6551, allocations: 4 kB / 0.74 GB, free: 14.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.6553, allocations: 151.2 kB / 0.7401 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.6553, allocations: 31.7 kB / 0.7401 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.6564, allocations: 399.5 kB / 0.7405 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6565, allocations: 7.875 kB / 0.7405 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.6565, allocations: 0 / 0.7405 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6565, allocations: 0 / 0.7405 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.6581, allocations: 0.8059 MB / 0.7413 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6581, allocations: 0 / 0.7413 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.6583, allocations: 43.97 kB / 0.7414 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.6587, allocations: 88.86 kB / 0.7415 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.6588, allocations: 4 kB / 0.7415 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.6606, allocations: 1.625 MB / 0.743 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6606, allocations: 3.953 kB / 0.743 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.6616, allocations: 490.4 kB / 0.7435 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.6618, allocations: 120.8 kB / 0.7436 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.6618, allocations: 7.938 kB / 0.7436 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.6621, allocations: 39.88 kB / 0.7437 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.6622, allocations: 19.98 kB / 0.7437 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.6622, allocations: 7.984 kB / 0.7437 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001612/0.6624, allocations: 178 kB / 0.7439 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6624, allocations: 0 / 0.7439 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004188/0.6628, allocations: 83.83 kB / 0.744 GB, free: 10.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001616/0.6644, allocations: 1.075 MB / 0.745 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009263/0.6654, allocations: 390.7 kB / 0.7454 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6654, allocations: 0 / 0.7454 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.6659, allocations: 274.7 kB / 0.7456 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.6666, allocations: 119.2 kB / 0.7457 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.6698, allocations: 1.691 MB / 0.7474 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.6702, allocations: 0.7714 MB / 0.7482 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.6704, allocations: 62.31 kB / 0.7482 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.6705, allocations: 75.41 kB / 0.7483 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.6705, allocations: 0 / 0.7483 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.7011, allocations: 7.957 MB / 0.7561 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/0.7014, allocations: 244.9 kB / 0.7563 GB, free: 14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.661, allocations: 3.938 kB / 0.7563 GB, free: 14 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) Environment - environmentSimulation: