Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_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.005425/0.005425, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001253/0.001253, allocations: 192.4 kB / 16.67 MB, free: 5.973 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7976/0.7976, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 71.55 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1423, allocations: 80.2 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5344/0.6768, allocations: 181.8 MB / 0.8367 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006209/0.683, allocations: 4.45 MB / 0.8411 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004486/0.6835, allocations: 20.03 kB / 0.8411 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.6843, allocations: 243.9 kB / 0.8413 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.6865, allocations: 0.7627 MB / 0.8421 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.6906, allocations: 1.51 MB / 0.8435 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.6924, allocations: 1.265 MB / 0.8448 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006751/0.6931, allocations: 445 kB / 0.8452 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009864/0.694, allocations: 0.572 MB / 0.8458 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004711/0.6945, allocations: 407.2 kB / 0.8461 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.937e-05/0.6946, allocations: 45.38 kB / 0.8462 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.6973, allocations: 1.545 MB / 0.8477 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.6975, allocations: 183.3 kB / 0.8479 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.6978, allocations: 308.6 kB / 0.8482 GB, free: 2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.6997, allocations: 1.317 MB / 0.8495 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6997, allocations: 6.188 kB / 0.8495 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6997, allocations: 0 / 0.8495 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.6998, allocations: 0 / 0.8495 GB, free: 1.203 MB / 0.6075 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.001655/0.7014, allocations: 1.038 MB / 0.8505 GB, free: 348 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.7015, allocations: 13.88 kB / 0.8505 GB, free: 344 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.073e-05/0.7016, allocations: 81.83 kB / 0.8506 GB, free: 268 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.7034, allocations: 286.9 kB / 0.8508 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007371/0.7042, allocations: 477.9 kB / 0.8513 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.7042, allocations: 30.03 kB / 0.8513 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/0.7043, allocations: 46.75 kB / 0.8514 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000948/0.7052, allocations: 0.5413 MB / 0.8519 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.7053, allocations: 6.75 kB / 0.8519 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.7053, allocations: 18.41 kB / 0.8519 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.7053, allocations: 14.23 kB / 0.8519 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/0.7063, allocations: 456.7 kB / 0.8524 GB, free: 15.11 MB / 0.6231 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.002395/0.7087, allocations: 2.131 MB / 0.8544 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.7096, allocations: 406.6 kB / 0.8548 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.7101, allocations: 231.1 kB / 0.8551 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/0.7108, allocations: 402.2 kB / 0.8554 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005859/0.7114, allocations: 288.2 kB / 0.8557 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.7114, allocations: 0 / 0.8557 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37): time 0.001716/0.7131, allocations: 0.6959 MB / 0.8564 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.7132, allocations: 55.41 kB / 0.8564 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/0.7137, allocations: 494.1 kB / 0.8569 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.7138, allocations: 37.7 kB / 0.857 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.714, allocations: 260.5 kB / 0.8572 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.7141, allocations: 130.9 kB / 0.8573 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.7143, allocations: 94.08 kB / 0.8574 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7145, allocations: 366.7 kB / 0.8578 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.715, allocations: 200.8 kB / 0.858 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.7155, allocations: 324 kB / 0.8583 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.7166, allocations: 0.5344 MB / 0.8588 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.7166, allocations: 1.812 kB / 0.8588 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001287/0.7179, allocations: 0.6562 MB / 0.8594 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.718, allocations: 59.41 kB / 0.8595 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.718, allocations: 4 kB / 0.8595 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.718, allocations: 4 kB / 0.8595 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.7184, allocations: 95.88 kB / 0.8596 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.7185, allocations: 7.938 kB / 0.8596 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.719, allocations: 83.77 kB / 0.8597 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.719, allocations: 27.98 kB / 0.8597 GB, free: 8.328 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.7192, allocations: 189.4 kB / 0.8599 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.7193, allocations: 59.62 kB / 0.8599 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.7206, allocations: 0.539 MB / 0.8605 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7206, allocations: 4 kB / 0.8605 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7206, allocations: 0 / 0.8605 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7206, allocations: 0 / 0.8605 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.7228, allocations: 1.352 MB / 0.8618 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.7228, allocations: 4 kB / 0.8618 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.7232, allocations: 72.33 kB / 0.8619 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.7232, allocations: 8 kB / 0.8619 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.7233, allocations: 20.05 kB / 0.8619 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.7233, allocations: 7.938 kB / 0.8619 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.7233, allocations: 9.703 kB / 0.8619 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.725, allocations: 0.933 MB / 0.8628 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.7252, allocations: 168.7 kB / 0.863 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.7253, allocations: 20.06 kB / 0.863 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.7257, allocations: 39.89 kB / 0.863 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.7259, allocations: 47.83 kB / 0.8631 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.7259, allocations: 16 kB / 0.8631 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004049/0.7263, allocations: 350.8 kB / 0.8634 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7263, allocations: 0 / 0.8634 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005282/0.7269, allocations: 151.8 kB / 0.8636 GB, free: 4.164 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002356/0.7292, allocations: 1.591 MB / 0.8651 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.7304, allocations: 0.5884 MB / 0.8657 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7304, allocations: 0 / 0.8657 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006651/0.7311, allocations: 284.8 kB / 0.866 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.7324, allocations: 282.7 kB / 0.8662 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.7399, allocations: 5.005 MB / 0.8711 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.7404, allocations: 0.8665 MB / 0.872 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004187/0.7408, allocations: 132.6 kB / 0.8721 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.7411, allocations: 175.4 kB / 0.8723 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of SimCode: time 9.22e-07/0.7411, allocations: 0 / 0.8723 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6344/1.376, allocations: 15.84 MB / 0.8877 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.033/10.41, allocations: 5.703 kB / 0.8877 GB, free: 11.34 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)