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.001672/0.001672, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001979/0.001979, allocations: 217.9 kB / 23.05 MB, free: 5.074 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.8167/0.8167, allocations: 134 MB / 447.2 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",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.001988/0.001988, allocations: 63.25 kB / 0.6193 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1724, allocations: 85.92 MB / 0.7032 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5437/0.7161, allocations: 185.6 MB / 0.8845 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00656/0.7226, allocations: 4.503 MB / 0.8889 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.7232, allocations: 27.75 kB / 0.8889 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.724, allocations: 250.1 kB / 0.8891 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.726, allocations: 0.8009 MB / 0.8899 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.73, allocations: 1.592 MB / 0.8915 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.7319, allocations: 1.282 MB / 0.8927 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007002/0.7326, allocations: 373.7 kB / 0.8931 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.7339, allocations: 0.5917 MB / 0.8937 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.7346, allocations: 434.2 kB / 0.8941 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.7347, allocations: 48 kB / 0.8941 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.7379, allocations: 1.679 MB / 0.8958 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.7382, allocations: 191.4 kB / 0.896 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.7386, allocations: 306.5 kB / 0.8962 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.7412, allocations: 1.323 MB / 0.8975 GB, free: 15.6 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7412, allocations: 4 kB / 0.8975 GB, free: 15.6 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7412, allocations: 0 / 0.8975 GB, free: 15.6 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.7413, allocations: 0 / 0.8975 GB, free: 15.6 MB / 0.67 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.001922/0.7432, allocations: 0.972 MB / 0.8985 GB, free: 14.58 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.7432, allocations: 8.031 kB / 0.8985 GB, free: 14.57 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.257e-05/0.7433, allocations: 13 kB / 0.8985 GB, free: 14.56 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.7434, allocations: 78.52 kB / 0.8986 GB, free: 14.47 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.7454, allocations: 283.3 kB / 0.8989 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009103/0.7463, allocations: 410.6 kB / 0.8992 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.7464, allocations: 33 kB / 0.8993 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-05/0.7465, allocations: 44 kB / 0.8993 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.7476, allocations: 0.5545 MB / 0.8999 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.7476, allocations: 4 kB / 0.8999 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.7477, allocations: 16 kB / 0.8999 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.7477, allocations: 15.94 kB / 0.8999 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.7488, allocations: 455.5 kB / 0.9003 GB, free: 12.62 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.002905/0.7517, allocations: 2.086 MB / 0.9024 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.7528, allocations: 393.8 kB / 0.9027 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.7533, allocations: 209.3 kB / 0.9029 GB, free: 9.816 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/0.7539, allocations: 95.88 kB / 0.903 GB, free: 9.723 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006834/0.7546, allocations: 287.7 kB / 0.9033 GB, free: 9.43 MB / 0.67 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/0.7546, allocations: 0 / 0.9033 GB, free: 9.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=37): time 0.001916/0.7565, allocations: 0.6941 MB / 0.904 GB, free: 8.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.7566, allocations: 63.41 kB / 0.904 GB, free: 8.656 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.7573, allocations: 490.1 kB / 0.9045 GB, free: 8.164 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/0.7573, allocations: 37.7 kB / 0.9046 GB, free: 8.121 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.7576, allocations: 260.5 kB / 0.9048 GB, free: 7.863 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.7577, allocations: 134.9 kB / 0.9049 GB, free: 7.73 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.7579, allocations: 90.08 kB / 0.905 GB, free: 7.637 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.7581, allocations: 370.7 kB / 0.9054 GB, free: 7.266 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.7586, allocations: 196.8 kB / 0.9056 GB, free: 7.074 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.7592, allocations: 313.2 kB / 0.9059 GB, free: 6.73 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.7603, allocations: 0.5421 MB / 0.9064 GB, free: 6.137 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.7603, allocations: 0 / 0.9064 GB, free: 6.137 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001407/0.7617, allocations: 0.66 MB / 0.907 GB, free: 5.461 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.491e-05/0.7617, allocations: 63.39 kB / 0.9071 GB, free: 5.387 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7618, allocations: 4 kB / 0.9071 GB, free: 5.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.7618, allocations: 8.312 kB / 0.9071 GB, free: 5.375 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.7622, allocations: 95.88 kB / 0.9072 GB, free: 5.281 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.7623, allocations: 11.94 kB / 0.9072 GB, free: 5.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.7628, allocations: 75.58 kB / 0.9073 GB, free: 5.195 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.7629, allocations: 27.98 kB / 0.9073 GB, free: 5.168 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.0002914/0.7632, allocations: 185.7 kB / 0.9075 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.7633, allocations: 59.67 kB / 0.9075 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.7646, allocations: 0.5447 MB / 0.9081 GB, free: 4.363 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.7646, allocations: 4 kB / 0.9081 GB, free: 4.359 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7646, allocations: 0 / 0.9081 GB, free: 4.359 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.7646, allocations: 3.984 kB / 0.9081 GB, free: 4.355 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.7671, allocations: 1.321 MB / 0.9094 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.7671, allocations: 4 kB / 0.9094 GB, free: 2.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.7675, allocations: 71.89 kB / 0.9094 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.7676, allocations: 8 kB / 0.9094 GB, free: 2.859 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.7676, allocations: 11.98 kB / 0.9095 GB, free: 2.848 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.7676, allocations: 4 kB / 0.9095 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7676, allocations: 11.88 kB / 0.9095 GB, free: 2.832 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.7694, allocations: 0.9506 MB / 0.9104 GB, free: 1.824 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.7697, allocations: 95.52 kB / 0.9105 GB, free: 1.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.7698, allocations: 8 kB / 0.9105 GB, free: 1.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.7702, allocations: 35.95 kB / 0.9105 GB, free: 1.688 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.7704, allocations: 59.86 kB / 0.9106 GB, free: 1.629 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.7704, allocations: 12 kB / 0.9106 GB, free: 1.617 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004716/0.7709, allocations: 346.8 kB / 0.9109 GB, free: 1.281 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.7709, allocations: 0 / 0.9109 GB, free: 1.281 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006564/0.7715, allocations: 155.8 kB / 0.9111 GB, free: 1.129 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.002465/0.774, allocations: 1.552 MB / 0.9126 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.7753, allocations: 0.5799 MB / 0.9132 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7753, allocations: 0 / 0.9132 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006683/0.776, allocations: 265 kB / 0.9134 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.7774, allocations: 286 kB / 0.9137 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008398/0.7858, allocations: 5.008 MB / 0.9186 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.7864, allocations: 0.8704 MB / 0.9194 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005211/0.7869, allocations: 132.6 kB / 0.9196 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.7872, allocations: 175.4 kB / 0.9197 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of SimCode: time 1.011e-06/0.7872, allocations: 0 / 0.9197 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04717/0.8344, allocations: 16.34 MB / 0.9357 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.74, allocations: 10.55 kB / 0.9357 GB, free: 7.895 MB / 0.7012 GB " [Timeout remaining time 647] (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 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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: 16.37309183506295] Failed to read output from testmodel.py, exit status != 0: 12.908651342964731 12.932483408 12.187995485 Calling exit ...