Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.001384/0.001384, allocations: 116.7 kB / 17.08 MB, free: 5.988 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.001338/0.001338, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.517/1.517, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] 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 1.266/1.266, allocations: 173.4 MB / 471.3 MB, free: 6.574 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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 60.34 kB / 0.649 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2023, allocations: 89.53 MB / 0.7364 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6255/0.8278, allocations: 167.4 MB / 0.8999 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002801/0.8307, allocations: 1.551 MB / 0.9014 GB, free: 376 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.8311, allocations: 11.66 kB / 0.9014 GB, free: 372 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.8316, allocations: 145.4 kB / 0.9015 GB, free: 308 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.8335, allocations: 0.6987 MB / 0.9022 GB, free: 140 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.8351, allocations: 0.5978 MB / 0.9028 GB, free: 60 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009681/0.8361, allocations: 0.7021 MB / 0.9035 GB, free: 0 / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.8365, allocations: 229.4 kB / 0.9037 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.8377, allocations: 490.6 kB / 0.9042 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.838, allocations: 215.4 kB / 0.9044 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.838, allocations: 21.78 kB / 0.9044 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.8397, allocations: 0.8619 MB / 0.9052 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.8398, allocations: 106.8 kB / 0.9053 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.84, allocations: 167.9 kB / 0.9055 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.8414, allocations: 0.7223 MB / 0.9062 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8414, allocations: 4 kB / 0.9062 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8414, allocations: 1.062 kB / 0.9062 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.8414, allocations: 0 / 0.9062 GB, free: 15.76 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001061/0.8425, allocations: 0.6627 MB / 0.9069 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.8425, allocations: 10.27 kB / 0.9069 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.8437, allocations: 155.8 kB / 0.907 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.8443, allocations: 325.5 kB / 0.9073 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.8443, allocations: 17.5 kB / 0.9073 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.8443, allocations: 22 kB / 0.9074 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.8448, allocations: 284.6 kB / 0.9076 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8449, allocations: 0 / 0.9076 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.8449, allocations: 9.25 kB / 0.9076 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.8449, allocations: 9.906 kB / 0.9077 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.8453, allocations: 196.2 kB / 0.9078 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.8468, allocations: 1.211 MB / 0.909 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.8471, allocations: 129.1 kB / 0.9091 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.8473, allocations: 99.8 kB / 0.9092 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/0.8479, allocations: 305.2 kB / 0.9095 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.8479, allocations: 39.69 kB / 0.9096 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.8479, allocations: 0 / 0.9096 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.000794/0.8487, allocations: 275.4 kB / 0.9098 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.8488, allocations: 53.56 kB / 0.9099 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.8491, allocations: 321.8 kB / 0.9102 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.8492, allocations: 25.7 kB / 0.9102 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.8493, allocations: 182.5 kB / 0.9104 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.8494, allocations: 54.7 kB / 0.9104 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-05/0.8494, allocations: 46.94 kB / 0.9105 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8496, allocations: 341.3 kB / 0.9108 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.8498, allocations: 69.58 kB / 0.9109 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.85, allocations: 124.5 kB / 0.911 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.8504, allocations: 188.6 kB / 0.9112 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8504, allocations: 1.25 kB / 0.9112 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004587/0.8508, allocations: 238.7 kB / 0.9114 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8509, allocations: 6.5 kB / 0.9114 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8509, allocations: 9.25 kB / 0.9114 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8509, allocations: 1.781 kB / 0.9114 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.8511, allocations: 47.06 kB / 0.9115 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.8511, allocations: 2.562 kB / 0.9115 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.8513, allocations: 31.64 kB / 0.9115 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.8514, allocations: 10.92 kB / 0.9115 GB, free: 12.77 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001569/0.8515, allocations: 154.1 kB / 0.9117 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.8516, allocations: 27.88 kB / 0.9117 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.8521, allocations: 220.8 kB / 0.9119 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8521, allocations: 3.594 kB / 0.9119 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8521, allocations: 0 / 0.9119 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8521, allocations: 3.938 kB / 0.9119 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.8532, allocations: 0.693 MB / 0.9126 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.8532, allocations: 2.281 kB / 0.9126 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.8533, allocations: 30.58 kB / 0.9126 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.8533, allocations: 3.469 kB / 0.9126 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.8534, allocations: 13.5 kB / 0.9126 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.8534, allocations: 6.375 kB / 0.9126 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8534, allocations: 1.594 kB / 0.9126 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006844/0.8541, allocations: 434.3 kB / 0.913 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.8542, allocations: 127.9 kB / 0.9132 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.8543, allocations: 8.312 kB / 0.9132 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.8544, allocations: 8.109 kB / 0.9132 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.8545, allocations: 18.11 kB / 0.9132 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.8545, allocations: 5.281 kB / 0.9132 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002219/0.8548, allocations: 226.5 kB / 0.9134 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8548, allocations: 0 / 0.9134 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004156/0.8552, allocations: 80.55 kB / 0.9135 GB, free: 11.76 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0004523/0.8556, allocations: 174.2 kB / 0.9137 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.8561, allocations: 172 kB / 0.9138 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.8561, allocations: 0 / 0.9138 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.8563, allocations: 87.75 kB / 0.9139 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.8572, allocations: 161.7 kB / 0.9141 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.8582, allocations: 0.6399 MB / 0.9147 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.8587, allocations: 0.7779 MB / 0.9155 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.8587, allocations: 30.45 kB / 0.9155 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of SimCode: time 3.01e-07/0.8587, allocations: 0 / 0.9155 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.007589/0.8663, allocations: 4.835 MB / 0.9202 GB, free: 10.07 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.402876919135451] Failed to read output from testmodel.py, exit status != 0: 0.8729235250502825 0.884582034 0.040648728 Calling exit ...