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.001408/0.001408, 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.001497/0.001497, allocations: 197.1 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9641/0.9641, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 65 kB / 0.5055 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 80.91 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4611/0.6151, allocations: 161.5 MB / 0.7422 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004669/0.6198, allocations: 3.485 MB / 0.7456 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.6201, allocations: 11.69 kB / 0.7456 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.6206, allocations: 133 kB / 0.7457 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.6217, allocations: 446.6 kB / 0.7461 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.6232, allocations: 0.5953 MB / 0.7467 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006842/0.6239, allocations: 0.6182 MB / 0.7473 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004032/0.6243, allocations: 227.4 kB / 0.7475 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.6255, allocations: 342 kB / 0.7478 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.6258, allocations: 194.5 kB / 0.748 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.6258, allocations: 21.62 kB / 0.7481 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009584/0.6268, allocations: 0.5443 MB / 0.7486 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.6269, allocations: 102 kB / 0.7487 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.6271, allocations: 143.2 kB / 0.7488 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007572/0.6278, allocations: 0.5451 MB / 0.7494 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6279, allocations: 4 kB / 0.7494 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6279, allocations: 4 kB / 0.7494 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6279, allocations: 3.938 kB / 0.7494 GB, free: 2.617 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.00103/0.6289, allocations: 0.6283 MB / 0.75 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.629, allocations: 10.59 kB / 0.75 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.629, allocations: 58.27 kB / 0.75 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.6295, allocations: 71.02 kB / 0.7501 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.6299, allocations: 295.2 kB / 0.7504 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.6299, allocations: 18.91 kB / 0.7504 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.6299, allocations: 21.19 kB / 0.7504 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/0.6305, allocations: 308.6 kB / 0.7507 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.6306, allocations: 0 / 0.7507 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.6306, allocations: 14.56 kB / 0.7507 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6306, allocations: 4.812 kB / 0.7507 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/0.6312, allocations: 254 kB / 0.751 GB, free: 1.332 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.001519/0.6328, allocations: 1.252 MB / 0.7522 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.6332, allocations: 166.1 kB / 0.7524 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.6335, allocations: 127.5 kB / 0.7525 GB, free: 20 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/0.6341, allocations: 299.9 kB / 0.7528 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.6341, allocations: 38.56 kB / 0.7528 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.6341, allocations: 0 / 0.7528 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002157/0.6363, allocations: 0.5741 MB / 0.7534 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.6363, allocations: 51.41 kB / 0.7534 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.6366, allocations: 254.9 kB / 0.7537 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.6366, allocations: 25.7 kB / 0.7537 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.6367, allocations: 171 kB / 0.7539 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.6368, allocations: 48.73 kB / 0.7539 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.6368, allocations: 38.64 kB / 0.7539 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.637, allocations: 334.7 kB / 0.7543 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.6373, allocations: 97.89 kB / 0.7543 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.6376, allocations: 141.3 kB / 0.7545 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.6381, allocations: 237.4 kB / 0.7547 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.6381, allocations: 0 / 0.7547 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001125/0.6393, allocations: 353.6 kB / 0.755 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.6393, allocations: 10.34 kB / 0.7551 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6393, allocations: 4.125 kB / 0.7551 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/0.6399, allocations: 92.75 kB / 0.7551 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.6401, allocations: 39.95 kB / 0.7552 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.6424, allocations: 1.733 MB / 0.7569 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.6426, allocations: 31.81 kB / 0.7569 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.6427, allocations: 8 kB / 0.7569 GB, free: 11.82 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.0001494/0.6428, allocations: 151.2 kB / 0.7571 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.6429, allocations: 23.72 kB / 0.7571 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.644, allocations: 360 kB / 0.7574 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6441, allocations: 4 kB / 0.7574 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.6441, allocations: 0 / 0.7574 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6441, allocations: 0 / 0.7574 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.6457, allocations: 0.779 MB / 0.7582 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6457, allocations: 0 / 0.7582 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.6459, allocations: 39.91 kB / 0.7582 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.6464, allocations: 80.81 kB / 0.7583 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.6464, allocations: 4 kB / 0.7583 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.6483, allocations: 1.741 MB / 0.76 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6483, allocations: 5.062 kB / 0.76 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.6494, allocations: 457.4 kB / 0.7605 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.6495, allocations: 124.7 kB / 0.7606 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.6495, allocations: 7.938 kB / 0.7606 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.6498, allocations: 19.97 kB / 0.7606 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.6499, allocations: 19.98 kB / 0.7606 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.6499, allocations: 12 kB / 0.7606 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001472/0.65, allocations: 182 kB / 0.7608 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6501, allocations: 0 / 0.7608 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004003/0.6505, allocations: 87.83 kB / 0.7609 GB, free: 7.48 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.001551/0.652, allocations: 1.037 MB / 0.7619 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009988/0.653, allocations: 380.4 kB / 0.7623 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.653, allocations: 4 kB / 0.7623 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000571/0.6536, allocations: 251 kB / 0.7625 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.6543, allocations: 126.8 kB / 0.7626 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.6588, allocations: 2.788 MB / 0.7653 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.6591, allocations: 0.779 MB / 0.7661 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.6593, allocations: 54.25 kB / 0.7662 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.6594, allocations: 83.34 kB / 0.7662 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of SimCode: time 1.553e-06/0.6594, allocations: 4 kB / 0.7662 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.6873, allocations: 8.568 MB / 0.7746 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.62, allocations: 8.047 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)