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.0009614/0.0009614, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001134/0.001134, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.922/0.922, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7211/0.7211, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.439e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4812/0.4812, allocations: 160.5 MB / 0.7749 GB, free: 4 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005264/0.4865, allocations: 4.164 MB / 0.7789 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007168/0.4872, allocations: 27.75 kB / 0.779 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0007335/0.4879, allocations: 262 kB / 0.7792 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.4897, allocations: 0.7808 MB / 0.78 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.4932, allocations: 1.64 MB / 0.7816 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.4951, allocations: 1.273 MB / 0.7828 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.4957, allocations: 358.9 kB / 0.7832 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.4974, allocations: 0.993 MB / 0.7841 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.4978, allocations: 358.9 kB / 0.7845 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.4979, allocations: 44 kB / 0.7845 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.5, allocations: 1.265 MB / 0.7858 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.5002, allocations: 199.3 kB / 0.786 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.5005, allocations: 211.5 kB / 0.7862 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.5026, allocations: 1.324 MB / 0.7874 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5026, allocations: 0 / 0.7874 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5026, allocations: 0 / 0.7874 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.5026, allocations: 4 kB / 0.7875 GB, free: 3.105 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.001354/0.5039, allocations: 0.9604 MB / 0.7884 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.504, allocations: 12.03 kB / 0.7884 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.5041, allocations: 74.53 kB / 0.7885 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.5052, allocations: 287.3 kB / 0.7887 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.5059, allocations: 418.5 kB / 0.7891 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.5059, allocations: 33 kB / 0.7892 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.506, allocations: 40 kB / 0.7892 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.5067, allocations: 0.5468 MB / 0.7898 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5067, allocations: 7.938 kB / 0.7898 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.5067, allocations: 16 kB / 0.7898 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.5068, allocations: 8 kB / 0.7898 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.5076, allocations: 463.5 kB / 0.7902 GB, free: 160 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.5095, allocations: 1.779 MB / 0.792 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.5101, allocations: 382.5 kB / 0.7923 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.5104, allocations: 217.3 kB / 0.7925 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.5107, allocations: 95.77 kB / 0.7926 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004234/0.5111, allocations: 297 kB / 0.7929 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 3.506e-06/0.5111, allocations: 4 kB / 0.7929 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.001155/0.5123, allocations: 0.6915 MB / 0.7936 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.5123, allocations: 63.39 kB / 0.7936 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.5128, allocations: 498 kB / 0.7941 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.5128, allocations: 37.7 kB / 0.7942 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.513, allocations: 264.5 kB / 0.7944 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.18e-05/0.513, allocations: 134.9 kB / 0.7945 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.5131, allocations: 90.14 kB / 0.7946 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5133, allocations: 362.8 kB / 0.795 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.5136, allocations: 256.2 kB / 0.7952 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.514, allocations: 499.8 kB / 0.7957 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.5146, allocations: 0.5464 MB / 0.7962 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5146, allocations: 3.062 kB / 0.7962 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009947/0.5156, allocations: 0.7027 MB / 0.7969 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.5157, allocations: 71.33 kB / 0.797 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5157, allocations: 0 / 0.797 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.5157, allocations: 8 kB / 0.797 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.5159, allocations: 87.88 kB / 0.7971 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.516, allocations: 11.94 kB / 0.7971 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.5163, allocations: 79.83 kB / 0.7972 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.5163, allocations: 27.98 kB / 0.7972 GB, free: 8.684 MB / 0.6667 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.0002038/0.5165, allocations: 194.7 kB / 0.7974 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.5166, allocations: 63.56 kB / 0.7974 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007677/0.5173, allocations: 0.5332 MB / 0.798 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5173, allocations: 4 kB / 0.798 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5173, allocations: 0 / 0.798 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5173, allocations: 0 / 0.798 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.5189, allocations: 1.267 MB / 0.7992 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.5189, allocations: 4 kB / 0.7992 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.5192, allocations: 76.31 kB / 0.7993 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.5192, allocations: 4 kB / 0.7993 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.5192, allocations: 23.88 kB / 0.7993 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.5192, allocations: 4 kB / 0.7993 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.5192, allocations: 9.062 kB / 0.7993 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.5204, allocations: 0.9303 MB / 0.8002 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.5205, allocations: 95.58 kB / 0.8003 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.5206, allocations: 15.94 kB / 0.8003 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.5208, allocations: 39.95 kB / 0.8004 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.5209, allocations: 43.88 kB / 0.8004 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.5209, allocations: 16.06 kB / 0.8004 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002937/0.5212, allocations: 354.8 kB / 0.8008 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5212, allocations: 0 / 0.8008 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004658/0.5217, allocations: 151.9 kB / 0.8009 GB, free: 4.707 MB / 0.6667 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.001576/0.5233, allocations: 1.56 MB / 0.8024 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008544/0.5241, allocations: 0.6227 MB / 0.803 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5241, allocations: 3.938 kB / 0.803 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.5245, allocations: 265 kB / 0.8033 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009366/0.5255, allocations: 293.4 kB / 0.8036 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005508/0.531, allocations: 5.203 MB / 0.8087 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.5312, allocations: 266.2 kB / 0.8089 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003932/0.5316, allocations: 132.7 kB / 0.809 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.5318, allocations: 176.4 kB / 0.8092 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.824e-06/0.5318, allocations: 0 / 0.8092 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.5665, allocations: 17.71 MB / 0.8265 GB, free: 10.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.936, allocations: 4 kB / 0.8265 GB, free: 10.56 MB / 0.698 GB " [Timeout remaining time 652] (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: 10.620241264812648] Failed to read output from testmodel.py, exit status != 0: 8.025385902263224 8.036642912 7.53206007 Calling exit ...