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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8297/0.8297, allocations: 134 MB / 442.8 MB, free: 11.31 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 70.2 kB / 0.6134 GB, free: 8.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.179, allocations: 85.86 MB / 0.6973 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6054/0.7844, allocations: 185.3 MB / 0.8783 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006992/0.7914, allocations: 4.472 MB / 0.8826 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006905/0.7921, allocations: 31.69 kB / 0.8827 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008351/0.7929, allocations: 250.1 kB / 0.8829 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.7951, allocations: 0.7854 MB / 0.8837 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.7988, allocations: 1.546 MB / 0.8852 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001813/0.8006, allocations: 1.266 MB / 0.8864 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007446/0.8014, allocations: 385.4 kB / 0.8868 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.8026, allocations: 0.5955 MB / 0.8874 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/0.8034, allocations: 434.2 kB / 0.8878 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.8035, allocations: 44 kB / 0.8878 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.8067, allocations: 1.644 MB / 0.8894 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.807, allocations: 195.4 kB / 0.8896 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.8074, allocations: 310.5 kB / 0.8899 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.8099, allocations: 1.322 MB / 0.8912 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8099, allocations: 0 / 0.8912 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8099, allocations: 0 / 0.8912 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.8099, allocations: 3.938 kB / 0.8912 GB, free: 1.773 MB / 0.6544 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.001963/0.8119, allocations: 1.049 MB / 0.8922 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.812, allocations: 9.109 kB / 0.8922 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.8121, allocations: 82.52 kB / 0.8923 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.8141, allocations: 279.3 kB / 0.8926 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.8149, allocations: 473.8 kB / 0.893 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.8149, allocations: 38.36 kB / 0.8931 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.815, allocations: 40 kB / 0.8931 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.816, allocations: 0.5468 MB / 0.8936 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.8161, allocations: 7.922 kB / 0.8936 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.8161, allocations: 23.94 kB / 0.8937 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.8161, allocations: 12 kB / 0.8937 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.8172, allocations: 455.5 kB / 0.8941 GB, free: 14.64 MB / 0.67 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.002666/0.8199, allocations: 2.128 MB / 0.8962 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.8209, allocations: 396.4 kB / 0.8966 GB, free: 11.99 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/0.8214, allocations: 212.7 kB / 0.8968 GB, free: 11.78 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/0.8221, allocations: 400.3 kB / 0.8971 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006398/0.8227, allocations: 284.7 kB / 0.8974 GB, free: 11.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=37): time 2.565e-06/0.8227, allocations: 4 kB / 0.8974 GB, free: 11.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=37): time 0.001904/0.8247, allocations: 0.6972 MB / 0.8981 GB, free: 10.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.8247, allocations: 55.41 kB / 0.8982 GB, free: 10.25 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.8253, allocations: 498.1 kB / 0.8986 GB, free: 9.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.8254, allocations: 33.7 kB / 0.8987 GB, free: 9.711 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.8256, allocations: 264.5 kB / 0.8989 GB, free: 9.449 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.8257, allocations: 126.9 kB / 0.899 GB, free: 9.324 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.8259, allocations: 90.08 kB / 0.8991 GB, free: 9.23 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.8261, allocations: 374.7 kB / 0.8995 GB, free: 8.855 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.8266, allocations: 188.8 kB / 0.8997 GB, free: 8.672 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.8272, allocations: 327 kB / 0.9 GB, free: 8.316 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.8283, allocations: 0.5371 MB / 0.9005 GB, free: 7.727 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.8283, allocations: 8.812 kB / 0.9005 GB, free: 7.719 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001349/0.8296, allocations: 0.6484 MB / 0.9011 GB, free: 7.051 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.8297, allocations: 63.41 kB / 0.9012 GB, free: 6.977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8297, allocations: 4 kB / 0.9012 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8297, allocations: 4 kB / 0.9012 GB, free: 6.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.8302, allocations: 104.2 kB / 0.9013 GB, free: 6.867 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8302, allocations: 7.938 kB / 0.9013 GB, free: 6.859 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.8307, allocations: 83.52 kB / 0.9014 GB, free: 6.777 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.8308, allocations: 25.67 kB / 0.9014 GB, free: 6.754 MB / 0.67 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.0002422/0.831, allocations: 192.9 kB / 0.9016 GB, free: 6.559 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.8311, allocations: 55.67 kB / 0.9017 GB, free: 6.504 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.8324, allocations: 0.5407 MB / 0.9022 GB, free: 5.953 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.8324, allocations: 4 kB / 0.9022 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8324, allocations: 0 / 0.9022 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.8324, allocations: 7.922 kB / 0.9022 GB, free: 5.941 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.8347, allocations: 1.349 MB / 0.9035 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8348, allocations: 8.062 kB / 0.9035 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.8352, allocations: 75.88 kB / 0.9036 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.8352, allocations: 8 kB / 0.9036 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.8352, allocations: 8 kB / 0.9036 GB, free: 4.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.8352, allocations: 15.88 kB / 0.9036 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.8352, allocations: 7.984 kB / 0.9036 GB, free: 4.371 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.837, allocations: 0.9374 MB / 0.9045 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.8372, allocations: 176.6 kB / 0.9047 GB, free: 3.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.8373, allocations: 12 kB / 0.9047 GB, free: 3.168 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.8378, allocations: 35.95 kB / 0.9048 GB, free: 3.133 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.8379, allocations: 51.89 kB / 0.9048 GB, free: 3.082 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.8379, allocations: 19.98 kB / 0.9048 GB, free: 3.062 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004333/0.8383, allocations: 342.8 kB / 0.9052 GB, free: 2.73 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8383, allocations: 0 / 0.9052 GB, free: 2.73 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000575/0.8389, allocations: 151.8 kB / 0.9053 GB, free: 2.582 MB / 0.67 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.002331/0.8412, allocations: 1.548 MB / 0.9068 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.8425, allocations: 0.5827 MB / 0.9074 GB, free: 368 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8425, allocations: 0 / 0.9074 GB, free: 368 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.8431, allocations: 264.8 kB / 0.9076 GB, free: 104 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.8446, allocations: 283.8 kB / 0.9079 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007818/0.8524, allocations: 5.02 MB / 0.9128 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.8529, allocations: 0.8587 MB / 0.9136 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004478/0.8534, allocations: 128.6 kB / 0.9138 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.8537, allocations: 179.4 kB / 0.9139 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of SimCode: time 5e-07/0.8537, allocations: 4 kB / 0.9139 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0452/0.8989, allocations: 15.91 MB / 0.9295 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/9.577, allocations: 2.188 kB / 0.9295 GB, free: 9.738 MB / 0.7012 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.251182179999887] Failed to read output from testmodel.py, exit status != 0: 9.655865717999404 9.680879269 8.86617595 Calling exit ...