Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.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.001303/0.001303, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001497/0.001497, allocations: 215 kB / 20.13 MB, free: 2.949 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.408/1.408, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.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.8452/0.8452, allocations: 133.9 MB / 443.5 MB, free: 13.72 MB / 350.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/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.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) [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.001985/0.001985, allocations: 67.55 kB / 0.6141 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1449, allocations: 85.85 MB / 0.698 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.2028/0.3477, allocations: 170.8 MB / 0.8648 GB, free: 3.488 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.3505, allocations: 1.561 MB / 0.8663 GB, free: 1.926 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.3508, allocations: 19.81 kB / 0.8663 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.3513, allocations: 154.9 kB / 0.8665 GB, free: 1.754 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.3529, allocations: 0.739 MB / 0.8672 GB, free: 1.012 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.3544, allocations: 0.6171 MB / 0.8678 GB, free: 408 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.4106/0.765, allocations: 0.7086 MB / 0.8685 GB, free: 2.535 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006003/0.7656, allocations: 205.3 kB / 0.8687 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000978/0.7666, allocations: 366.1 kB / 0.869 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.7669, allocations: 245.4 kB / 0.8693 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.767, allocations: 24.19 kB / 0.8693 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.7688, allocations: 0.9273 MB / 0.8702 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.769, allocations: 111.3 kB / 0.8703 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.7692, allocations: 170.5 kB / 0.8705 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.7707, allocations: 0.739 MB / 0.8712 GB, free: 2.488 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7707, allocations: 8.188 kB / 0.8712 GB, free: 2.488 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7707, allocations: 0 / 0.8712 GB, free: 2.488 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7707, allocations: 0 / 0.8712 GB, free: 2.488 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001193/0.7719, allocations: 0.6713 MB / 0.8719 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.772, allocations: 12.84 kB / 0.8719 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.71e-05/0.772, allocations: 7.156 kB / 0.8719 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.993e-05/0.7721, allocations: 59.31 kB / 0.8719 GB, free: 17.94 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.7733, allocations: 160.4 kB / 0.8721 GB, free: 17.92 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.7739, allocations: 331 kB / 0.8724 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.7739, allocations: 19.88 kB / 0.8724 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.7739, allocations: 22.25 kB / 0.8724 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.7745, allocations: 281.5 kB / 0.8727 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.7745, allocations: 5.125 kB / 0.8727 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.7745, allocations: 12.31 kB / 0.8727 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.7745, allocations: 6.969 kB / 0.8727 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.775, allocations: 199.4 kB / 0.8729 GB, free: 17.61 MB / 0.6856 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.001664/0.7766, allocations: 1.236 MB / 0.8741 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.777, allocations: 142.4 kB / 0.8743 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.7772, allocations: 91.55 kB / 0.8743 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006406/0.7778, allocations: 301.5 kB / 0.8746 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.7778, allocations: 33.81 kB / 0.8747 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.7778, allocations: 0 / 0.8747 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17): time 0.0008768/0.7787, allocations: 301.8 kB / 0.875 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.7788, allocations: 53.78 kB / 0.875 GB, free: 16.31 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.7791, allocations: 319.6 kB / 0.8753 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.7792, allocations: 33.12 kB / 0.8753 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.7793, allocations: 184.7 kB / 0.8755 GB, free: 16.07 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.7794, allocations: 61.41 kB / 0.8756 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.7795, allocations: 48.36 kB / 0.8756 GB, free: 16.01 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.7797, allocations: 343.3 kB / 0.876 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.7798, allocations: 71.48 kB / 0.876 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.7801, allocations: 125.2 kB / 0.8761 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.7804, allocations: 195 kB / 0.8763 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7804, allocations: 0.875 kB / 0.8763 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005349/0.781, allocations: 258.9 kB / 0.8766 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.781, allocations: 7.578 kB / 0.8766 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.781, allocations: 2.594 kB / 0.8766 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.781, allocations: 2.125 kB / 0.8766 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.7812, allocations: 46.17 kB / 0.8766 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.7813, allocations: 2.875 kB / 0.8766 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.7815, allocations: 34.91 kB / 0.8767 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.7815, allocations: 11.25 kB / 0.8767 GB, free: 15.53 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 (24): * Single equations (assignments): 24 * 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.0001665/0.7817, allocations: 156.7 kB / 0.8768 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.7817, allocations: 30.81 kB / 0.8769 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.7823, allocations: 234 kB / 0.8771 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7823, allocations: 2.375 kB / 0.8771 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7823, allocations: 2.141 kB / 0.8771 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7823, allocations: 2.25 kB / 0.8771 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.7834, allocations: 0.7073 MB / 0.8778 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7834, allocations: 7.031 kB / 0.8778 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.7836, allocations: 35.41 kB / 0.8778 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.7836, allocations: 12.69 kB / 0.8778 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.7836, allocations: 6.125 kB / 0.8778 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.7836, allocations: 6.953 kB / 0.8778 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.7836, allocations: 5.094 kB / 0.8778 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.7843, allocations: 448.8 kB / 0.8783 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.7844, allocations: 127.2 kB / 0.8784 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.7845, allocations: 10.94 kB / 0.8784 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.7847, allocations: 11.83 kB / 0.8784 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.7847, allocations: 11.23 kB / 0.8784 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.7847, allocations: 12.36 kB / 0.8784 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002432/0.785, allocations: 234.7 kB / 0.8787 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/0.785, allocations: 0 / 0.8787 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004501/0.7854, allocations: 82.19 kB / 0.8787 GB, free: 14.58 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 (17): * Single equations (assignments): 17 * 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.001337/0.7868, allocations: 1.029 MB / 0.8797 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005446/0.7873, allocations: 176.4 kB / 0.8799 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7873, allocations: 1.375 kB / 0.8799 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.7876, allocations: 93.92 kB / 0.88 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00095/0.7885, allocations: 164.8 kB / 0.8802 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/0.793, allocations: 3.01 MB / 0.8831 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.7935, allocations: 0.785 MB / 0.8839 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.7937, allocations: 64.14 kB / 0.8839 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.7939, allocations: 92.14 kB / 0.884 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of SimCode: time 9.02e-07/0.7939, allocations: 2.094 kB / 0.884 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.8215, allocations: 9.065 MB / 0.8929 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/9.52, allocations: 11.62 kB / 0.8929 GB, free: 10.96 MB / 0.6856 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.211408964009024] Failed to read output from testmodel.py, exit status != 0: 9.90666037198389 9.666430938 8.892323227 Calling exit ...