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.0007751/0.0007751, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000753/0.000753, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8956/0.8956, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7051/0.7051, allocations: 154.6 MB / 414.5 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6194 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.426e-05, allocations: 5.375 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4576/0.4576, allocations: 160.5 MB / 0.7761 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.005947/0.4636, allocations: 4.16 MB / 0.7802 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008695/0.4644, allocations: 32.09 kB / 0.7802 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.4654, allocations: 257.3 kB / 0.7805 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.4677, allocations: 0.778 MB / 0.7812 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004535/0.4723, allocations: 1.639 MB / 0.7828 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.4742, allocations: 1.264 MB / 0.7841 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006488/0.4749, allocations: 361.2 kB / 0.7844 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.4769, allocations: 0.9872 MB / 0.7854 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.4773, allocations: 351.8 kB / 0.7857 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.4774, allocations: 45.66 kB / 0.7857 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.4801, allocations: 1.281 MB / 0.787 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.4803, allocations: 195.4 kB / 0.7872 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.4806, allocations: 215.2 kB / 0.7874 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.4841, allocations: 1.323 MB / 0.7887 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4841, allocations: 0 / 0.7887 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.926e-06/0.4841, allocations: 0 / 0.7887 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.4841, allocations: 2.156 kB / 0.7887 GB, free: 9.039 MB / 0.6511 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.001894/0.486, allocations: 0.9687 MB / 0.7896 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/0.486, allocations: 12.53 kB / 0.7896 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.4875, allocations: 282.7 kB / 0.7899 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/0.4883, allocations: 408.3 kB / 0.7903 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.4883, allocations: 32.25 kB / 0.7903 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.4884, allocations: 43.31 kB / 0.7904 GB, free: 8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/0.4893, allocations: 0.5549 MB / 0.7909 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4893, allocations: 0 / 0.7909 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.479e-05/0.4893, allocations: 16.12 kB / 0.7909 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.4893, allocations: 11 kB / 0.7909 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.4901, allocations: 459.4 kB / 0.7914 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.4921, allocations: 1.69 MB / 0.793 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.4928, allocations: 391.9 kB / 0.7934 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.4931, allocations: 207.2 kB / 0.7936 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003655/0.4934, allocations: 100.7 kB / 0.7937 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004566/0.4939, allocations: 295.9 kB / 0.794 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 4.789e-06/0.4939, allocations: 0 / 0.794 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001168/0.4951, allocations: 0.6856 MB / 0.7946 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.4951, allocations: 54.09 kB / 0.7947 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.4955, allocations: 395.7 kB / 0.7951 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.4955, allocations: 39.27 kB / 0.7951 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4957, allocations: 274.6 kB / 0.7954 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.4958, allocations: 129.2 kB / 0.7955 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.4959, allocations: 99.17 kB / 0.7956 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.496, allocations: 355.2 kB / 0.7959 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.4963, allocations: 250.5 kB / 0.7962 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.4968, allocations: 0.4892 MB / 0.7966 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006584/0.4974, allocations: 0.5393 MB / 0.7972 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4974, allocations: 0 / 0.7972 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008998/0.4983, allocations: 0.6917 MB / 0.7978 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.4984, allocations: 63.41 kB / 0.7979 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.4984, allocations: 7.906 kB / 0.7979 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.4985, allocations: 13.28 kB / 0.7979 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.4987, allocations: 99.14 kB / 0.798 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.4987, allocations: 7.781 kB / 0.798 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.4991, allocations: 68.14 kB / 0.7981 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.4991, allocations: 20.27 kB / 0.7981 GB, free: 3.598 MB / 0.6511 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.0002578/0.4994, allocations: 195.6 kB / 0.7983 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.4995, allocations: 50.11 kB / 0.7983 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007868/0.5002, allocations: 0.5171 MB / 0.7989 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.5003, allocations: 11.45 kB / 0.7989 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5003, allocations: 0 / 0.7989 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5003, allocations: 4 kB / 0.7989 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.5018, allocations: 1.221 MB / 0.8001 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.5018, allocations: 5 kB / 0.8001 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.502, allocations: 79.25 kB / 0.8001 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.502, allocations: 5.062 kB / 0.8001 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.5021, allocations: 9.438 kB / 0.8002 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.5021, allocations: 11.94 kB / 0.8002 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5021, allocations: 8.906 kB / 0.8002 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.5032, allocations: 0.9307 MB / 0.8011 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.5034, allocations: 86.23 kB / 0.8012 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.5034, allocations: 18.98 kB / 0.8012 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.5037, allocations: 38.56 kB / 0.8012 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.5038, allocations: 50.58 kB / 0.8013 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.5038, allocations: 10.5 kB / 0.8013 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006475/0.5045, allocations: 264.1 kB / 0.8015 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5045, allocations: 0 / 0.8015 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006449/0.5051, allocations: 163.7 kB / 0.8017 GB, free: 1.645 MB / 0.6511 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.000396/0.5055, allocations: 189 kB / 0.8019 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008495/0.5064, allocations: 0.6278 MB / 0.8025 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5064, allocations: 0 / 0.8025 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.5067, allocations: 255.5 kB / 0.8027 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.5075, allocations: 202.9 kB / 0.8029 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.5093, allocations: 1.025 MB / 0.8039 GB, free: 136 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.5095, allocations: 265.9 kB / 0.8042 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.5096, allocations: 40.25 kB / 0.8042 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of SimCode: time 2.054e-06/0.5096, allocations: 4 kB / 0.8042 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of Templates: time 0.01137/0.521, allocations: 8.25 MB / 0.8123 GB, free: 11.7 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.912718387320638] Failed to read output from testmodel.py, exit status != 0: 0.5283121140673757 0.537179151 0.051238146000000005 Calling exit ...