Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.001577/0.001577, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002029/0.002029, allocations: 161.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.503/1.503, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.234/1.234, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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 178] 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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.541e-05, allocations: 3.969 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6007/0.6008, allocations: 147.6 MB / 0.7627 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003773/0.6045, allocations: 1.493 MB / 0.7642 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.6051, allocations: 14.75 kB / 0.7642 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.6058, allocations: 156.2 kB / 0.7643 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.6081, allocations: 0.7141 MB / 0.765 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.6103, allocations: 0.6785 MB / 0.7657 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.6114, allocations: 0.7061 MB / 0.7664 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.6118, allocations: 187.9 kB / 0.7666 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.6132, allocations: 0.5859 MB / 0.7671 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.6135, allocations: 194.6 kB / 0.7673 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.6136, allocations: 27.34 kB / 0.7673 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.6151, allocations: 0.7182 MB / 0.7681 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.6153, allocations: 106.9 kB / 0.7682 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.6154, allocations: 117.2 kB / 0.7683 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.6165, allocations: 0.7312 MB / 0.769 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6165, allocations: 1.812 kB / 0.769 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6165, allocations: 3.938 kB / 0.769 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.6165, allocations: 0 / 0.769 GB, free: 12.13 MB / 0.6231 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.001036/0.6176, allocations: 0.5796 MB / 0.7695 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6176, allocations: 15.06 kB / 0.7696 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.6189, allocations: 156.2 kB / 0.7697 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.6194, allocations: 267.6 kB / 0.77 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.6194, allocations: 15.72 kB / 0.77 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.6195, allocations: 19.97 kB / 0.77 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.62, allocations: 278.1 kB / 0.7703 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.62, allocations: 0 / 0.7703 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.62, allocations: 10.38 kB / 0.7703 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.6201, allocations: 9.844 kB / 0.7703 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.6205, allocations: 192.4 kB / 0.7705 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.6219, allocations: 0.9193 MB / 0.7714 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.6221, allocations: 127.1 kB / 0.7715 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.6223, allocations: 83.45 kB / 0.7716 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004657/0.6228, allocations: 77.17 kB / 0.7716 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.6228, allocations: 41.42 kB / 0.7717 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.6228, allocations: 0 / 0.7717 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007684/0.6236, allocations: 270.2 kB / 0.7719 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.6236, allocations: 62.08 kB / 0.772 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.6239, allocations: 246.3 kB / 0.7722 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.6239, allocations: 27.17 kB / 0.7723 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.6241, allocations: 193 kB / 0.7724 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.6241, allocations: 54.06 kB / 0.7725 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.6242, allocations: 45.7 kB / 0.7725 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6244, allocations: 339.6 kB / 0.7729 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.6245, allocations: 68.75 kB / 0.7729 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.6248, allocations: 203.3 kB / 0.7731 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.6252, allocations: 189.5 kB / 0.7733 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6252, allocations: 2.188 kB / 0.7733 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000443/0.6256, allocations: 243.3 kB / 0.7735 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6256, allocations: 9.172 kB / 0.7735 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6256, allocations: 2.062 kB / 0.7735 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6256, allocations: 2.938 kB / 0.7736 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.6258, allocations: 39.98 kB / 0.7736 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6258, allocations: 2.719 kB / 0.7736 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.626, allocations: 27.83 kB / 0.7736 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.6261, allocations: 11.53 kB / 0.7736 GB, free: 8.555 MB / 0.6231 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.0001592/0.6262, allocations: 154.9 kB / 0.7738 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.6263, allocations: 30.27 kB / 0.7738 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.6267, allocations: 210.6 kB / 0.774 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6267, allocations: 2.281 kB / 0.774 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6267, allocations: 0.875 kB / 0.774 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6267, allocations: 3.984 kB / 0.774 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.6277, allocations: 0.6025 MB / 0.7746 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6277, allocations: 2.312 kB / 0.7746 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.6279, allocations: 32.12 kB / 0.7746 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.6279, allocations: 2.719 kB / 0.7746 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.6279, allocations: 7.938 kB / 0.7746 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6279, allocations: 0 / 0.7746 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6279, allocations: 6.156 kB / 0.7747 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.6286, allocations: 419.9 kB / 0.7751 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.6286, allocations: 43.02 kB / 0.7751 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.6287, allocations: 6.875 kB / 0.7751 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.6288, allocations: 14.08 kB / 0.7751 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.6289, allocations: 19.33 kB / 0.7751 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.6289, allocations: 5.594 kB / 0.7751 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001599/0.6291, allocations: 175 kB / 0.7753 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.6291, allocations: 4.062 kB / 0.7753 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004256/0.6295, allocations: 96.72 kB / 0.7754 GB, free: 7.258 MB / 0.6231 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.000325/0.6298, allocations: 151.1 kB / 0.7755 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.6302, allocations: 164.7 kB / 0.7757 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6303, allocations: 3.219 kB / 0.7757 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.6304, allocations: 82.75 kB / 0.7758 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/0.6312, allocations: 127.1 kB / 0.7759 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009954/0.6322, allocations: 0.5451 MB / 0.7764 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.6324, allocations: 173.2 kB / 0.7766 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.6325, allocations: 56.94 kB / 0.7767 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.6326, allocations: 25.09 kB / 0.7767 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of SimCode: time 7.12e-07/0.6326, allocations: 0 / 0.7767 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of Templates: time 0.01069/0.6433, allocations: 4.731 MB / 0.7813 GB, free: 4.047 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.712121240794659] Failed to read output from testmodel.py, exit status != 0: 0.652639701962471 0.666960079 0.047123126 Calling exit ...