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.0007724/0.0007724, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008519/0.0008519, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8981/0.8981, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.732/0.732, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.293e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4426/0.4426, allocations: 160.5 MB / 0.7748 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.005493/0.4481, allocations: 4.155 MB / 0.7789 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.4486, allocations: 27.84 kB / 0.7789 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.000781/0.4494, allocations: 261.6 kB / 0.7792 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.4512, allocations: 0.774 MB / 0.7799 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.4547, allocations: 1.652 MB / 0.7815 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.456, allocations: 1.266 MB / 0.7828 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005466/0.4565, allocations: 363.7 kB / 0.7831 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.458, allocations: 0.9932 MB / 0.7841 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.4584, allocations: 348.8 kB / 0.7844 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.4585, allocations: 46.12 kB / 0.7845 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.4603, allocations: 1.265 MB / 0.7857 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.4605, allocations: 202.5 kB / 0.7859 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.4607, allocations: 211.1 kB / 0.7861 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.4621, allocations: 1.328 MB / 0.7874 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4621, allocations: 0.9688 kB / 0.7874 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4621, allocations: 0 / 0.7874 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.4621, allocations: 0 / 0.7874 GB, free: 9.078 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.001244/0.4633, allocations: 0.9641 MB / 0.7883 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4634, allocations: 10 kB / 0.7883 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.405e-05/0.4634, allocations: 84.56 kB / 0.7884 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.4645, allocations: 289.1 kB / 0.7887 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.4651, allocations: 396.1 kB / 0.7891 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.4651, allocations: 35.81 kB / 0.7891 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.4652, allocations: 40.91 kB / 0.7891 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.4659, allocations: 0.5513 MB / 0.7897 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4659, allocations: 7.625 kB / 0.7897 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.4659, allocations: 20.06 kB / 0.7897 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4659, allocations: 9.625 kB / 0.7897 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006499/0.4666, allocations: 459.1 kB / 0.7902 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.4683, allocations: 1.781 MB / 0.7919 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.4689, allocations: 391.4 kB / 0.7923 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.4692, allocations: 208.3 kB / 0.7925 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.4695, allocations: 94.53 kB / 0.7926 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.4699, allocations: 299.2 kB / 0.7928 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 2.073e-06/0.4699, allocations: 2.531 kB / 0.7928 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001025/0.4709, allocations: 0.6914 MB / 0.7935 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.4709, allocations: 57.31 kB / 0.7936 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.4713, allocations: 0.4913 MB / 0.7941 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.4713, allocations: 33.17 kB / 0.7941 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4715, allocations: 269.7 kB / 0.7943 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.887e-05/0.4716, allocations: 128.7 kB / 0.7945 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4717, allocations: 96.48 kB / 0.7946 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4718, allocations: 367.6 kB / 0.7949 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.4721, allocations: 252.9 kB / 0.7952 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.4725, allocations: 497.1 kB / 0.7956 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.4731, allocations: 0.5414 MB / 0.7962 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4731, allocations: 0 / 0.7962 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007562/0.4738, allocations: 0.7072 MB / 0.7968 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.4739, allocations: 65.92 kB / 0.7969 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4739, allocations: 5.562 kB / 0.7969 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4739, allocations: 6.375 kB / 0.7969 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.4741, allocations: 105 kB / 0.797 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4741, allocations: 9.625 kB / 0.797 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.4744, allocations: 79.84 kB / 0.7971 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.4744, allocations: 21.94 kB / 0.7971 GB, free: 3.461 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.0001601/0.4746, allocations: 194.8 kB / 0.7973 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.4746, allocations: 64.7 kB / 0.7974 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006758/0.4753, allocations: 0.5309 MB / 0.7979 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4753, allocations: 2.656 kB / 0.7979 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4753, allocations: 3.5 kB / 0.7979 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4753, allocations: 2.109 kB / 0.7979 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.4767, allocations: 1.273 MB / 0.7991 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4767, allocations: 4.906 kB / 0.7991 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.4769, allocations: 75.19 kB / 0.7992 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4769, allocations: 9.875 kB / 0.7992 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.4769, allocations: 14.86 kB / 0.7992 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4769, allocations: 4.844 kB / 0.7992 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4769, allocations: 5.875 kB / 0.7993 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.4779, allocations: 0.9306 MB / 0.8002 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.478, allocations: 95.8 kB / 0.8003 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.4781, allocations: 16.03 kB / 0.8003 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4783, allocations: 38.27 kB / 0.8003 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.4784, allocations: 46.78 kB / 0.8004 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.4784, allocations: 21.64 kB / 0.8004 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002556/0.4786, allocations: 350.8 kB / 0.8007 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.4786, allocations: 0 / 0.8007 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003792/0.479, allocations: 149.4 kB / 0.8008 GB, free: 1.469 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.001395/0.4804, allocations: 1.558 MB / 0.8024 GB, free: 292 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007334/0.4811, allocations: 0.6171 MB / 0.803 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4811, allocations: 3.469 kB / 0.803 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.4815, allocations: 278.4 kB / 0.8032 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008104/0.4823, allocations: 283.1 kB / 0.8035 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.4871, allocations: 5.208 MB / 0.8086 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.4873, allocations: 269.8 kB / 0.8089 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002817/0.4876, allocations: 124.2 kB / 0.809 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.4878, allocations: 178.8 kB / 0.8091 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of SimCode: time 8.32e-07/0.4878, allocations: 0 / 0.8091 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.5204, allocations: 17.71 MB / 0.8264 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.83, allocations: 0 / 0.8264 GB, free: 13.95 MB / 0.6823 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: 10.66174480970949] Failed to read output from testmodel.py, exit status != 0: 7.919790578074753 7.92917787 7.465245491 Calling exit ...