Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 106.8 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 181.9 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 0.9773/0.9773, allocations: 175.7 MB / 480.1 MB, free: 2.82 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 72.36 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 94.52 MB / 0.7601 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02476/0.1841, allocations: 23.65 MB / 0.7832 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007396/0.1915, allocations: 5.13 MB / 0.7882 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007948/0.1923, allocations: 35.81 kB / 0.7882 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007849/0.1931, allocations: 278.1 kB / 0.7885 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.1951, allocations: 0.8279 MB / 0.7893 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.1969, allocations: 0.7806 MB / 0.7901 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.199, allocations: 1.631 MB / 0.7916 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006184/0.1997, allocations: 389.6 kB / 0.792 GB, free: 20 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.2014, allocations: 0.7176 MB / 0.7927 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000683/0.2021, allocations: 473.9 kB / 0.7932 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.2021, allocations: 44 kB / 0.7932 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.2032, allocations: 0.4913 MB / 0.7937 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.2034, allocations: 143.4 kB / 0.7938 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.2037, allocations: 310.5 kB / 0.7941 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.2051, allocations: 0.9342 MB / 0.795 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2051, allocations: 0 / 0.795 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2051, allocations: 0 / 0.795 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2051, allocations: 0 / 0.795 GB, free: 12.92 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001311/0.2064, allocations: 0.9068 MB / 0.7959 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2064, allocations: 12.03 kB / 0.7959 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.442e-05/0.2065, allocations: 78.72 kB / 0.796 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.2067, allocations: 68.56 kB / 0.7961 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009551/0.2077, allocations: 0.5761 MB / 0.7966 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.2077, allocations: 36.94 kB / 0.7967 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.2078, allocations: 36 kB / 0.7967 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.2085, allocations: 440.7 kB / 0.7971 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2085, allocations: 4 kB / 0.7971 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.2085, allocations: 16 kB / 0.7971 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.2085, allocations: 12 kB / 0.7972 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.2091, allocations: 303.8 kB / 0.7974 GB, free: 10.32 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.2117, allocations: 1.923 MB / 0.7993 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.2122, allocations: 242.8 kB / 0.7996 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.2124, allocations: 112.8 kB / 0.7997 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009151/0.2133, allocations: 0.8506 MB / 0.8005 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.2134, allocations: 42.44 kB / 0.8005 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/0.2134, allocations: 0 / 0.8005 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007157/0.2141, allocations: 372.4 kB / 0.8009 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2141, allocations: 59.41 kB / 0.8009 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.2147, allocations: 470.1 kB / 0.8014 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.2148, allocations: 33.7 kB / 0.8014 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.215, allocations: 268.3 kB / 0.8017 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/0.2151, allocations: 103.1 kB / 0.8018 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2152, allocations: 73.97 kB / 0.8019 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.2154, allocations: 358.8 kB / 0.8022 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.2155, allocations: 96.61 kB / 0.8023 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.2158, allocations: 172 kB / 0.8025 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.2162, allocations: 280 kB / 0.8027 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2162, allocations: 0 / 0.8027 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005693/0.2168, allocations: 365.3 kB / 0.8031 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2168, allocations: 11.97 kB / 0.8031 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2168, allocations: 4 kB / 0.8031 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2168, allocations: 4 kB / 0.8031 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.2171, allocations: 71.91 kB / 0.8032 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.2171, allocations: 11.92 kB / 0.8032 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.2174, allocations: 31.73 kB / 0.8032 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.2174, allocations: 19.98 kB / 0.8032 GB, free: 3.977 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0002097/0.2176, allocations: 177.8 kB / 0.8034 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.2177, allocations: 59.61 kB / 0.8034 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008013/0.2185, allocations: 465 kB / 0.8039 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.2185, allocations: 4 kB / 0.8039 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2185, allocations: 4 kB / 0.8039 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007408/0.2193, allocations: 0.574 MB / 0.8045 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.2212, allocations: 1.16 MB / 0.8056 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2212, allocations: 0 / 0.8056 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.2214, allocations: 55.86 kB / 0.8056 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.2215, allocations: 4 kB / 0.8056 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.2215, allocations: 11.98 kB / 0.8057 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.2215, allocations: 11.92 kB / 0.8057 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2215, allocations: 0 / 0.8057 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/0.2224, allocations: 0.6758 MB / 0.8063 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.2226, allocations: 168.7 kB / 0.8065 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.2227, allocations: 8 kB / 0.8065 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.2229, allocations: 23.88 kB / 0.8065 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.223, allocations: 27.91 kB / 0.8065 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.223, allocations: 12 kB / 0.8066 GB, free: 336 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004386/0.2235, allocations: 346.9 kB / 0.8069 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2235, allocations: 0 / 0.8069 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006331/0.2241, allocations: 199.6 kB / 0.8071 GB, free: 15.79 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.001625/0.2257, allocations: 1.395 MB / 0.8084 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.2262, allocations: 283.7 kB / 0.8087 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2262, allocations: 448 / 0.8087 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.2264, allocations: 151.7 kB / 0.8089 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.2279, allocations: 342 kB / 0.8092 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/0.2332, allocations: 4.227 MB / 0.8133 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.2337, allocations: 0.8549 MB / 0.8141 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003517/0.234, allocations: 128.7 kB / 0.8143 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.2343, allocations: 191.4 kB / 0.8144 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of SimCode: time 6.82e-07/0.2343, allocations: 0 / 0.8144 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.2787, allocations: 17.1 MB / 0.8311 GB, free: 7.191 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.392, allocations: 6.531 kB / 0.8312 GB, free: 7.188 MB / 0.6388 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.073394498991547]