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.001072/0.001072, 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.001409/0.001409, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.948/0.948, allocations: 230.6 MB / 256 MB, free: 9.594 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.8139/0.8139, allocations: 203.8 MB / 0.5042 GB, free: 10.38 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.001454/0.001454, allocations: 70.69 kB / 0.7182 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.5442, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1732/0.7173, allocations: 160.7 MB / 0.9747 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005439/0.7228, allocations: 4.158 MB / 0.9788 GB, free: 244 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006087/0.7234, allocations: 27.75 kB / 0.9788 GB, free: 216 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00078/0.7242, allocations: 258.2 kB / 0.9791 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.7261, allocations: 0.762 MB / 0.9798 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.7292, allocations: 1.575 MB / 0.9813 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.731, allocations: 1.27 MB / 0.9826 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.7315, allocations: 361.6 kB / 0.9829 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.733, allocations: 0.833 MB / 0.9837 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.7334, allocations: 398.3 kB / 0.9841 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.7335, allocations: 44 kB / 0.9842 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.7356, allocations: 1.246 MB / 0.9854 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.7358, allocations: 195.4 kB / 0.9856 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.7361, allocations: 258.8 kB / 0.9858 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.7379, allocations: 1.25 MB / 0.987 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7379, allocations: 0 / 0.987 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7379, allocations: 0 / 0.987 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.7379, allocations: 0 / 0.987 GB, free: 7.762 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.001423/0.7393, allocations: 0.9721 MB / 0.988 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.7394, allocations: 8.031 kB / 0.988 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.848e-05/0.7395, allocations: 82.52 kB / 0.9881 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.7408, allocations: 287.3 kB / 0.9883 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.7415, allocations: 410.6 kB / 0.9887 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.7415, allocations: 33 kB / 0.9888 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.7416, allocations: 40 kB / 0.9888 GB, free: 5.867 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.7427, allocations: 0.5507 MB / 0.9893 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7428, allocations: 0 / 0.9893 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.7428, allocations: 19.94 kB / 0.9894 GB, free: 5.262 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.7428, allocations: 12 kB / 0.9894 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.7434, allocations: 467.5 kB / 0.9898 GB, free: 4.793 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.7452, allocations: 1.768 MB / 0.9915 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.7459, allocations: 400.7 kB / 0.9919 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.7461, allocations: 212.7 kB / 0.9921 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000332/0.7465, allocations: 87.91 kB / 0.9922 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004572/0.7469, allocations: 288.7 kB / 0.9925 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 2.685e-06/0.7469, allocations: 4 kB / 0.9925 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.001186/0.7481, allocations: 0.6876 MB / 0.9932 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.7482, allocations: 67.34 kB / 0.9932 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.7486, allocations: 494 kB / 0.9937 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.7486, allocations: 41.64 kB / 0.9937 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.7488, allocations: 264.4 kB / 0.994 GB, free: 388 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/0.7489, allocations: 134.9 kB / 0.9941 GB, free: 252 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.749, allocations: 90.08 kB / 0.9942 GB, free: 156 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7492, allocations: 366.8 kB / 0.9946 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.7495, allocations: 256.2 kB / 0.9948 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.75, allocations: 499.6 kB / 0.9953 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009771/0.7509, allocations: 0.5389 MB / 0.9958 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7509, allocations: 11.94 kB / 0.9958 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008178/0.7518, allocations: 0.6987 MB / 0.9965 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.7518, allocations: 67.39 kB / 0.9966 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.7518, allocations: 4.062 kB / 0.9966 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.7519, allocations: 8 kB / 0.9966 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.7521, allocations: 99.81 kB / 0.9967 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.7521, allocations: 4 kB / 0.9967 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.7524, allocations: 79.73 kB / 0.9967 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.7525, allocations: 27.92 kB / 0.9968 GB, free: 13.33 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.0002153/0.7527, allocations: 205.5 kB / 0.997 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.7527, allocations: 55.62 kB / 0.997 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007565/0.7535, allocations: 0.5331 MB / 0.9975 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.7535, allocations: 7.938 kB / 0.9975 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7535, allocations: 0 / 0.9975 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.7535, allocations: 3.984 kB / 0.9976 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.755, allocations: 1.268 MB / 0.9988 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.755, allocations: 4 kB / 0.9988 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.7552, allocations: 80.31 kB / 0.9989 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.7553, allocations: 8 kB / 0.9989 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.7553, allocations: 8 kB / 0.9989 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.7553, allocations: 8 kB / 0.9989 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.7553, allocations: 11.92 kB / 0.9989 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.7564, allocations: 0.938 MB / 0.9998 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.7565, allocations: 99.5 kB / 0.9999 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.7566, allocations: 16 kB / 0.9999 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.7568, allocations: 31.95 kB / 1 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.7569, allocations: 55.81 kB / 1 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.7569, allocations: 12.06 kB / 1 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002895/0.7572, allocations: 350.8 kB / 1 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.7572, allocations: 4 kB / 1 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004464/0.7577, allocations: 143.9 kB / 1.001 GB, free: 9.34 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.001601/0.7593, allocations: 1.575 MB / 1.002 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.7605, allocations: 0.6227 MB / 1.003 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7605, allocations: 0 / 1.003 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.7609, allocations: 272.8 kB / 1.003 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008728/0.7618, allocations: 286.8 kB / 1.003 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/0.7672, allocations: 5.23 MB / 1.008 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.7674, allocations: 270 kB / 1.009 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004513/0.7679, allocations: 128.7 kB / 1.009 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.7681, allocations: 175.4 kB / 1.009 GB, free: 388 kB / 0.7761 GB Notification: Performance of SimCode: time 2.414e-06/0.7681, allocations: 4 kB / 1.009 GB, free: 384 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.8042, allocations: 17.64 MB / 1.026 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.303/8.108, allocations: 13.55 kB / 1.026 GB, free: 15.12 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.097266234923154] Failed to read output from testmodel.py, exit status != 0: 8.19714651722461 8.20664465 7.466806135 Calling exit ...