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.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.0008444/0.0008444, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008744/0.0008744, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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 0.9795/0.9795, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8212/0.8212, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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"}) [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.001322/0.001322, allocations: 67.39 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.5173, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1642/0.6815, allocations: 160.7 MB / 0.9747 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004589/0.686, allocations: 4.162 MB / 0.9788 GB, free: 256 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000365/0.6864, allocations: 27.75 kB / 0.9788 GB, free: 228 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000608/0.687, allocations: 258.2 kB / 0.9791 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.6884, allocations: 0.7619 MB / 0.9798 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.6909, allocations: 1.573 MB / 0.9813 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.6919, allocations: 1.266 MB / 0.9826 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.6924, allocations: 373.6 kB / 0.9829 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.6935, allocations: 0.833 MB / 0.9837 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.6938, allocations: 394.3 kB / 0.9841 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.6939, allocations: 44 kB / 0.9842 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.6953, allocations: 1.246 MB / 0.9854 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.6955, allocations: 195.4 kB / 0.9856 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.6957, allocations: 258.8 kB / 0.9858 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.6969, allocations: 1.254 MB / 0.987 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6969, allocations: 0 / 0.987 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6969, allocations: 0 / 0.987 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.6969, allocations: 4 kB / 0.987 GB, free: 7.766 MB / 0.7605 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.00132/0.6982, allocations: 0.9682 MB / 0.988 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6983, allocations: 12.03 kB / 0.988 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.626e-05/0.6983, allocations: 74.53 kB / 0.9881 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.6995, allocations: 283.3 kB / 0.9883 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.7002, allocations: 418.6 kB / 0.9887 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.7002, allocations: 29 kB / 0.9888 GB, free: 5.918 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.7003, allocations: 44 kB / 0.9888 GB, free: 5.875 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.701, allocations: 0.5468 MB / 0.9893 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.701, allocations: 0 / 0.9893 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.701, allocations: 23.94 kB / 0.9894 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.701, allocations: 12 kB / 0.9894 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.7017, allocations: 455.5 kB / 0.9898 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.7034, allocations: 1.791 MB / 0.9916 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.704, allocations: 386.4 kB / 0.9919 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.7043, allocations: 220.7 kB / 0.9921 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.7046, allocations: 87.91 kB / 0.9922 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/0.705, allocations: 288.7 kB / 0.9925 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 1.984e-06/0.705, allocations: 0 / 0.9925 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.001071/0.7061, allocations: 0.6954 MB / 0.9932 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.7061, allocations: 59.41 kB / 0.9932 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.7065, allocations: 498 kB / 0.9937 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.7065, allocations: 37.7 kB / 0.9937 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.7067, allocations: 260.5 kB / 0.994 GB, free: 396 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.7068, allocations: 134.9 kB / 0.9941 GB, free: 260 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.7069, allocations: 90.08 kB / 0.9942 GB, free: 164 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.707, allocations: 370.8 kB / 0.9946 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.7073, allocations: 248.2 kB / 0.9948 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.7078, allocations: 499.6 kB / 0.9953 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006667/0.7085, allocations: 0.5428 MB / 0.9958 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.7085, allocations: 3.938 kB / 0.9958 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008576/0.7093, allocations: 0.7065 MB / 0.9965 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.7094, allocations: 67.34 kB / 0.9966 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7094, allocations: 0 / 0.9966 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.7094, allocations: 8 kB / 0.9966 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.7097, allocations: 87.88 kB / 0.9967 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.7097, allocations: 11.98 kB / 0.9967 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.7099, allocations: 79.83 kB / 0.9967 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.71, allocations: 20 kB / 0.9968 GB, free: 13.35 MB / 0.7761 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.0001828/0.7101, allocations: 201.6 kB / 0.997 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.7102, allocations: 59.62 kB / 0.997 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.7109, allocations: 0.5409 MB / 0.9975 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.7109, allocations: 7.984 kB / 0.9975 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7109, allocations: 0 / 0.9975 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7109, allocations: 3.984 kB / 0.9975 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.7124, allocations: 1.27 MB / 0.9988 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7124, allocations: 448 / 0.9988 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.7126, allocations: 79.83 kB / 0.9989 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.7126, allocations: 4 kB / 0.9989 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.7126, allocations: 19.98 kB / 0.9989 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.7126, allocations: 4 kB / 0.9989 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.7126, allocations: 7.938 kB / 0.9989 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.7138, allocations: 0.9419 MB / 0.9998 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.7139, allocations: 99.48 kB / 0.9999 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.714, allocations: 12 kB / 0.9999 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.7142, allocations: 40.02 kB / 1 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.7143, allocations: 51.81 kB / 1 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.7144, allocations: 15.98 kB / 1 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003129/0.7147, allocations: 346.8 kB / 1 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.7147, allocations: 0 / 1 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004064/0.7151, allocations: 151.9 kB / 1.001 GB, free: 9.348 MB / 0.7761 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.001608/0.7167, allocations: 1.57 MB / 1.002 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007807/0.7175, allocations: 0.6223 MB / 1.003 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7175, allocations: 0 / 1.003 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.7179, allocations: 277.8 kB / 1.003 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/0.7187, allocations: 276.4 kB / 1.003 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.7238, allocations: 5.226 MB / 1.008 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.7239, allocations: 274 kB / 1.009 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000319/0.7243, allocations: 132.6 kB / 1.009 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.7245, allocations: 175.4 kB / 1.009 GB, free: 404 kB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.7245, allocations: 0 / 1.009 GB, free: 404 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.7576, allocations: 17.64 MB / 1.026 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/8.125, allocations: 12.05 kB / 1.026 GB, free: 15.13 MB / 0.8073 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.198798044584692] Failed to read output from testmodel.py, exit status != 0: 8.211685996036977 8.222029444 7.523359754 Calling exit ...