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.001842/0.001842, allocations: 81.47 kB / 19.76 MB, free: 2.051 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.002256/0.002256, allocations: 158 kB / 23.01 MB, free: 4.941 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8173/0.8173, allocations: 101.3 MB / 361.1 MB, free: 10.08 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.52 kB / 0.5356 GB, free: 5.484 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1656, allocations: 85.88 MB / 0.6195 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5387/0.7043, allocations: 147.5 MB / 0.7636 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002849/0.7072, allocations: 1.489 MB / 0.765 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.7075, allocations: 20 kB / 0.7651 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.708, allocations: 146.2 kB / 0.7652 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.7099, allocations: 0.7026 MB / 0.7659 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.7117, allocations: 0.6117 MB / 0.7665 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009627/0.7126, allocations: 0.7151 MB / 0.7672 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.713, allocations: 190.9 kB / 0.7674 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.7138, allocations: 444.5 kB / 0.7678 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.7141, allocations: 222.4 kB / 0.768 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.7141, allocations: 24.75 kB / 0.768 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.7155, allocations: 0.7127 MB / 0.7687 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.7156, allocations: 124.6 kB / 0.7688 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.7158, allocations: 137.2 kB / 0.769 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.7171, allocations: 0.6983 MB / 0.7697 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7171, allocations: 0 / 0.7697 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7171, allocations: 3.938 kB / 0.7697 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.7171, allocations: 0 / 0.7697 GB, free: 0.7695 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001015/0.7182, allocations: 0.5822 MB / 0.7702 GB, free: 284 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.7182, allocations: 8.375 kB / 0.7702 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.7194, allocations: 165.1 kB / 0.7704 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.72, allocations: 259.4 kB / 0.7706 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.72, allocations: 13.19 kB / 0.7707 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.72, allocations: 24.03 kB / 0.7707 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.7206, allocations: 292.5 kB / 0.771 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.7206, allocations: 0 / 0.771 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.7206, allocations: 10.48 kB / 0.771 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.7206, allocations: 4.844 kB / 0.771 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.721, allocations: 200.1 kB / 0.7712 GB, free: 15.65 MB / 0.6231 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.001389/0.7224, allocations: 0.9255 MB / 0.7721 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.7227, allocations: 125.2 kB / 0.7722 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.7229, allocations: 90.23 kB / 0.7723 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004885/0.7234, allocations: 72.95 kB / 0.7723 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.7234, allocations: 41.56 kB / 0.7724 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.7234, allocations: 0 / 0.7724 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0008348/0.7242, allocations: 270.3 kB / 0.7726 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.7243, allocations: 53.47 kB / 0.7727 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.7246, allocations: 247.9 kB / 0.7729 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.7246, allocations: 31.89 kB / 0.773 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.7248, allocations: 188.4 kB / 0.7731 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.7248, allocations: 55.64 kB / 0.7732 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.7249, allocations: 41.48 kB / 0.7732 GB, free: 14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7251, allocations: 336.6 kB / 0.7735 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.7252, allocations: 62.45 kB / 0.7736 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.7255, allocations: 208.3 kB / 0.7738 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.7259, allocations: 188.7 kB / 0.774 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7259, allocations: 0 / 0.774 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004717/0.7264, allocations: 237.1 kB / 0.7742 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7264, allocations: 7.969 kB / 0.7742 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7264, allocations: 4.094 kB / 0.7742 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7264, allocations: 2.812 kB / 0.7742 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.7266, allocations: 43.91 kB / 0.7743 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.7266, allocations: 2.312 kB / 0.7743 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.7268, allocations: 30.95 kB / 0.7743 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.7269, allocations: 5.438 kB / 0.7743 GB, free: 13.17 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.0001809/0.727, allocations: 156.1 kB / 0.7745 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.7271, allocations: 22.89 kB / 0.7745 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005427/0.7277, allocations: 221.6 kB / 0.7747 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.7277, allocations: 6.875 kB / 0.7747 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7277, allocations: 0 / 0.7747 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7277, allocations: 0 / 0.7747 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.7288, allocations: 0.6102 MB / 0.7753 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7288, allocations: 2.938 kB / 0.7753 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.7289, allocations: 27.92 kB / 0.7753 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.7289, allocations: 2.781 kB / 0.7753 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.7289, allocations: 10.69 kB / 0.7753 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.7289, allocations: 2.406 kB / 0.7753 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.729, allocations: 10.33 kB / 0.7753 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.7296, allocations: 424.6 kB / 0.7757 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.7297, allocations: 33.28 kB / 0.7758 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.7298, allocations: 16.83 kB / 0.7758 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.7299, allocations: 5.625 kB / 0.7758 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.73, allocations: 20.97 kB / 0.7758 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.73, allocations: 9.406 kB / 0.7758 GB, free: 12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001677/0.7302, allocations: 175.9 kB / 0.776 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7302, allocations: 0 / 0.776 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004311/0.7306, allocations: 90.17 kB / 0.7761 GB, free: 11.86 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.0003055/0.7309, allocations: 151 kB / 0.7762 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.7314, allocations: 162.8 kB / 0.7764 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7314, allocations: 0 / 0.7764 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.7316, allocations: 82.2 kB / 0.7765 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.7323, allocations: 129 kB / 0.7766 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.7334, allocations: 0.5964 MB / 0.7772 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.7336, allocations: 170.7 kB / 0.7773 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.7338, allocations: 55.55 kB / 0.7774 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.7338, allocations: 21.69 kB / 0.7774 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.7338, allocations: 3.938 kB / 0.7774 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of Templates: time 0.01001/0.7438, allocations: 4.744 MB / 0.782 GB, free: 8.602 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.132857449119911] Failed to read output from testmodel.py, exit status != 0: 0.7520526631269604 0.7664854329999999 0.046348685 Calling exit ...