Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",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.001636/0.001635, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00224/0.00224, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.656/2.656, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.727/1.727, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000537/0.0005372, allocations: 12 kB / 0.5069 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3001, allocations: 82.31 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 1.019/1.319, allocations: 151.4 MB / 0.7351 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01201/1.332, allocations: 4.119 MB / 0.7391 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/1.333, allocations: 17.22 kB / 0.7391 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002007/1.335, allocations: 287.3 kB / 0.7394 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003866/1.339, allocations: 0.5754 MB / 0.74 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006517/1.346, allocations: 0.976 MB / 0.7409 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003091/1.349, allocations: 0.7464 MB / 0.7417 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/1.35, allocations: 358.5 kB / 0.742 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/1.353, allocations: 0.6543 MB / 0.7426 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009703/1.354, allocations: 283.8 kB / 0.7429 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/1.354, allocations: 27.16 kB / 0.7429 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/1.358, allocations: 0.5917 MB / 0.7435 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004192/1.358, allocations: 161.6 kB / 0.7437 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004004/1.359, allocations: 130.4 kB / 0.7438 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/1.361, allocations: 0.645 MB / 0.7444 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.361, allocations: 4 kB / 0.7444 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.908e-06/1.361, allocations: 0 / 0.7444 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.305e-05/1.361, allocations: 0 / 0.7444 GB, free: 11.11 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.003069/1.364, allocations: 0.8824 MB / 0.7453 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 9.944e-05/1.364, allocations: 12.03 kB / 0.7453 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/1.364, allocations: 75.88 kB / 0.7454 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/1.368, allocations: 294.4 kB / 0.7457 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/1.37, allocations: 443 kB / 0.7461 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/1.37, allocations: 40.89 kB / 0.7461 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/1.37, allocations: 40 kB / 0.7462 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/1.372, allocations: 0.561 MB / 0.7467 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/1.372, allocations: 4.562 kB / 0.7467 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.104e-05/1.373, allocations: 16 kB / 0.7467 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/1.373, allocations: 12 kB / 0.7467 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/1.375, allocations: 490.2 kB / 0.7472 GB, free: 8.527 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.005342/1.38, allocations: 2.13 MB / 0.7493 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/1.382, allocations: 446.4 kB / 0.7497 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000695/1.383, allocations: 145 kB / 0.7498 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/1.384, allocations: 331.3 kB / 0.7502 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 5.591e-06/1.384, allocations: 0 / 0.7502 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.003616/1.388, allocations: 0.7362 MB / 0.7509 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.388, allocations: 89.09 kB / 0.751 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.389, allocations: 486.1 kB / 0.7514 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/1.389, allocations: 33.7 kB / 0.7515 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/1.39, allocations: 264 kB / 0.7517 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/1.39, allocations: 122.2 kB / 0.7518 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/1.39, allocations: 12 kB / 0.7518 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002674/1.39, allocations: 366.8 kB / 0.7522 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008709/1.391, allocations: 208.8 kB / 0.7524 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.392, allocations: 332.4 kB / 0.7527 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/1.393, allocations: 297.9 kB / 0.753 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/1.393, allocations: 4 kB / 0.753 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002402/1.396, allocations: 0.6769 MB / 0.7537 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.018e-05/1.396, allocations: 63.39 kB / 0.7537 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.396, allocations: 7.938 kB / 0.7537 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/1.396, allocations: 8 kB / 0.7537 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/1.397, allocations: 108.1 kB / 0.7538 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/1.397, allocations: 8 kB / 0.7538 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.398, allocations: 90.05 kB / 0.7539 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.398, allocations: 23.98 kB / 0.7539 GB, free: 1.355 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005121/1.399, allocations: 198.2 kB / 0.7541 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/1.399, allocations: 63.3 kB / 0.7542 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/1.401, allocations: 0.515 MB / 0.7547 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.401, allocations: 4 kB / 0.7547 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.401, allocations: 0 / 0.7547 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/1.401, allocations: 11.92 kB / 0.7547 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/1.405, allocations: 1.467 MB / 0.7561 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.406, allocations: 5.062 kB / 0.7562 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/1.406, allocations: 92.44 kB / 0.7562 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/1.406, allocations: 7.953 kB / 0.7562 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/1.406, allocations: 12 kB / 0.7563 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-05/1.407, allocations: 11.98 kB / 0.7563 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/1.407, allocations: 7.938 kB / 0.7563 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/1.41, allocations: 1.224 MB / 0.7575 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/1.411, allocations: 176.4 kB / 0.7576 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.411, allocations: 16.86 kB / 0.7577 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000882/1.412, allocations: 51.89 kB / 0.7577 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/1.412, allocations: 59.83 kB / 0.7578 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/1.412, allocations: 16 kB / 0.7578 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009011/1.413, allocations: 342.8 kB / 0.7581 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.373e-06/1.413, allocations: 0 / 0.7581 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001291/1.415, allocations: 147.9 kB / 0.7582 GB, free: 12.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005136/1.42, allocations: 3.19 MB / 0.7614 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002045/1.422, allocations: 0.6162 MB / 0.762 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.422, allocations: 0 / 0.762 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/1.423, allocations: 331.4 kB / 0.7623 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/1.426, allocations: 273.6 kB / 0.7625 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.437, allocations: 5.349 MB / 0.7678 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009707/1.438, allocations: 0.8785 MB / 0.7686 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001206/1.44, allocations: 128.7 kB / 0.7687 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/1.44, allocations: 175.4 kB / 0.7689 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of SimCode: time 1.533e-06/1.44, allocations: 0 / 0.7689 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.55, allocations: 14.76 MB / 0.7833 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004392/1.551, allocations: 215 kB / 0.7835 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/4.611, allocations: 0 / 0.7835 GB, free: 2.645 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: