Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001099/0.001099, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001185/0.001185, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.865/0.865, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7175/0.7175, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.56e-05, allocations: 6.219 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.3879/0.388, allocations: 150.6 MB / 0.7651 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004687/0.3926, allocations: 3.212 MB / 0.7683 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008058/0.3934, allocations: 29.69 kB / 0.7683 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008927/0.3943, allocations: 304.8 kB / 0.7686 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.3968, allocations: 1.08 MB / 0.7697 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.3983, allocations: 0.7204 MB / 0.7704 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.4002, allocations: 1.563 MB / 0.7719 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000614/0.4008, allocations: 384.8 kB / 0.7722 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.4023, allocations: 0.9078 MB / 0.7731 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.4033, allocations: 449.8 kB / 0.7736 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.823e-05/0.4034, allocations: 53.53 kB / 0.7736 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.4048, allocations: 0.696 MB / 0.7743 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.4051, allocations: 256.1 kB / 0.7745 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.4054, allocations: 239.2 kB / 0.7748 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.4074, allocations: 1.165 MB / 0.7759 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4074, allocations: 3.938 kB / 0.7759 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4074, allocations: 0 / 0.7759 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.4074, allocations: 1.125 kB / 0.7759 GB, free: 0.6367 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001541/0.4089, allocations: 0.8551 MB / 0.7767 GB, free: 40 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.409, allocations: 10.44 kB / 0.7768 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.4091, allocations: 86.95 kB / 0.7768 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008283/0.4099, allocations: 178.2 kB / 0.777 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.4106, allocations: 458.2 kB / 0.7774 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.4107, allocations: 30.53 kB / 0.7775 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.4107, allocations: 52.83 kB / 0.7775 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.4115, allocations: 0.7145 MB / 0.7782 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4115, allocations: 0 / 0.7782 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.4116, allocations: 28.38 kB / 0.7782 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.4116, allocations: 16.05 kB / 0.7783 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.4122, allocations: 409.4 kB / 0.7787 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.4141, allocations: 1.222 MB / 0.7798 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.4145, allocations: 288.1 kB / 0.7801 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.4147, allocations: 167.5 kB / 0.7803 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.4148, allocations: 27.97 kB / 0.7803 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4149, allocations: 41.72 kB / 0.7803 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.4149, allocations: 1.406 kB / 0.7804 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.00177/0.4166, allocations: 0.9871 MB / 0.7813 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4167, allocations: 57.52 kB / 0.7814 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.4171, allocations: 453.7 kB / 0.7818 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.4172, allocations: 33.27 kB / 0.7818 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4173, allocations: 256.2 kB / 0.7821 GB, free: 13 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/0.4174, allocations: 125.9 kB / 0.7822 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/0.4175, allocations: 70.72 kB / 0.7823 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4177, allocations: 357.7 kB / 0.7826 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.4178, allocations: 124.4 kB / 0.7827 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.4181, allocations: 254.6 kB / 0.783 GB, free: 12.31 MB / 0.6511 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.4194, allocations: 0.7868 MB / 0.7837 GB, free: 12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4194, allocations: 5.188 kB / 0.7837 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005583/0.42, allocations: 415.5 kB / 0.7841 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.42, allocations: 12.56 kB / 0.7842 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.42, allocations: 1.719 kB / 0.7842 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.42, allocations: 2.031 kB / 0.7842 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.4202, allocations: 68.16 kB / 0.7842 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4203, allocations: 2.781 kB / 0.7842 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.4206, allocations: 23 kB / 0.7842 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.4207, allocations: 10.16 kB / 0.7843 GB, free: 11.79 MB / 0.6511 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0003081/0.421, allocations: 214.8 kB / 0.7845 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.421, allocations: 50.66 kB / 0.7845 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.2e-05/0.4211, allocations: 66.03 kB / 0.7846 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4211, allocations: 6.219 kB / 0.7846 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.4211, allocations: 0 / 0.7846 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004161/0.4216, allocations: 412.1 kB / 0.785 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.423, allocations: 1.145 MB / 0.7861 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.423, allocations: 4.688 kB / 0.7861 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.4233, allocations: 72.36 kB / 0.7862 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.4233, allocations: 5.344 kB / 0.7862 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.4233, allocations: 21.12 kB / 0.7862 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.4233, allocations: 8.562 kB / 0.7862 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.4233, allocations: 4.688 kB / 0.7862 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.4241, allocations: 0.6966 MB / 0.7869 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.4243, allocations: 96.36 kB / 0.787 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.4243, allocations: 14.88 kB / 0.787 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.4245, allocations: 17 kB / 0.787 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.4246, allocations: 37.11 kB / 0.787 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.4246, allocations: 24.25 kB / 0.7871 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002901/0.4249, allocations: 331.4 kB / 0.7874 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4249, allocations: 0 / 0.7874 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004974/0.4254, allocations: 138.8 kB / 0.7875 GB, free: 9.879 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0009957/0.4264, allocations: 1.273 MB / 0.7888 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.4268, allocations: 315.8 kB / 0.7891 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4268, allocations: 6.625 kB / 0.7891 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.427, allocations: 153 kB / 0.7892 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.428, allocations: 379.7 kB / 0.7896 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.432, allocations: 4.356 MB / 0.7938 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.4322, allocations: 285.2 kB / 0.7941 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004022/0.4326, allocations: 136.7 kB / 0.7942 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.4328, allocations: 167.2 kB / 0.7944 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/0.4328, allocations: 0 / 0.7944 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.469, allocations: 17.41 MB / 0.8114 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/7.867, allocations: 21.78 kB / 0.8114 GB, free: 13.55 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.509996610693634] Failed to read output from testmodel.py, exit status != 0: 7.955557329580188 7.9659069 7.55577827 Calling exit ...