Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0008471/0.0008471, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008397/0.0008397, allocations: 208.1 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9738/0.9738, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.8075/0.8075, allocations: 203.8 MB / 0.5042 GB, free: 10.39 MB / 410.7 MB " [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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",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.0009129/0.0009129, allocations: 66.83 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.5056, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1633/0.6689, allocations: 168.3 MB / 0.9822 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006759/0.6757, allocations: 5.413 MB / 0.9875 GB, free: 7.309 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009827/0.6767, allocations: 55.5 kB / 0.9875 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.6778, allocations: 0.5397 MB / 0.988 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.681, allocations: 1.676 MB / 0.9897 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.6832, allocations: 1.239 MB / 0.9909 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002647/0.6858, allocations: 2.553 MB / 0.9934 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008346/0.6867, allocations: 0.7199 MB / 0.9941 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.6886, allocations: 1.253 MB / 0.9953 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.6902, allocations: 0.826 MB / 0.9961 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.6903, allocations: 100 kB / 0.9962 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.6923, allocations: 1.251 MB / 0.9974 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003581/0.6927, allocations: 0.4947 MB / 0.9979 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004488/0.6932, allocations: 0.5289 MB / 0.9984 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.6952, allocations: 2.087 MB / 1 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6952, allocations: 0 / 1 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6952, allocations: 0 / 1 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.6952, allocations: 0 / 1 GB, free: 9.945 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00172/0.6969, allocations: 1.438 MB / 1.002 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.697, allocations: 8.031 kB / 1.002 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.6971, allocations: 139.2 kB / 1.002 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.6983, allocations: 331 kB / 1.002 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.6992, allocations: 0.7441 MB / 1.003 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.6993, allocations: 62 kB / 1.003 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/0.6994, allocations: 91.88 kB / 1.003 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.7007, allocations: 1.48 MB / 1.005 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.7007, allocations: 4 kB / 1.005 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.7007, allocations: 36 kB / 1.005 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-05/0.7008, allocations: 34 kB / 1.005 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009344/0.7017, allocations: 0.8313 MB / 1.006 GB, free: 4.547 MB / 0.7761 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.003206/0.7049, allocations: 3.261 MB / 1.009 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.7053, allocations: 354.7 kB / 1.009 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.7055, allocations: 200.7 kB / 1.009 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.7056, allocations: 24.58 kB / 1.009 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.7057, allocations: 42.5 kB / 1.009 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 2.155e-06/0.7057, allocations: 0 / 1.009 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38): time 0.001809/0.7075, allocations: 1.276 MB / 1.011 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.7075, allocations: 59.16 kB / 1.011 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008738/0.7084, allocations: 1.012 MB / 1.012 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.7084, allocations: 33.7 kB / 1.012 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.7087, allocations: 0.504 MB / 1.012 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.7088, allocations: 142.8 kB / 1.012 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.7089, allocations: 130.2 kB / 1.012 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.709, allocations: 330 kB / 1.013 GB, free: 13 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.7093, allocations: 233.2 kB / 1.013 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.7096, allocations: 475.2 kB / 1.013 GB, free: 12.22 MB / 0.7917 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.7111, allocations: 1.142 MB / 1.014 GB, free: 11 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7111, allocations: 0 / 1.014 GB, free: 11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008484/0.7119, allocations: 0.7775 MB / 1.015 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7119, allocations: 8 kB / 1.015 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.712, allocations: 11.94 kB / 1.015 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.712, allocations: 8 kB / 1.015 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.7123, allocations: 139.8 kB / 1.015 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.7123, allocations: 15.94 kB / 1.015 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.7127, allocations: 52.23 kB / 1.015 GB, free: 9.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.7128, allocations: 27.94 kB / 1.016 GB, free: 9.953 MB / 0.7917 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0003316/0.7131, allocations: 318.8 kB / 1.016 GB, free: 9.633 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.7132, allocations: 99.39 kB / 1.016 GB, free: 9.535 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.7133, allocations: 113 kB / 1.016 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.7133, allocations: 4 kB / 1.016 GB, free: 9.418 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.7133, allocations: 0 / 1.016 GB, free: 9.418 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005993/0.7139, allocations: 0.683 MB / 1.017 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.7154, allocations: 1.432 MB / 1.018 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.7154, allocations: 4 kB / 1.018 GB, free: 7.113 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.7156, allocations: 83.83 kB / 1.018 GB, free: 7.031 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.7156, allocations: 8 kB / 1.018 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.7156, allocations: 12 kB / 1.018 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.7156, allocations: 11.94 kB / 1.018 GB, free: 7 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7156, allocations: 8.438 kB / 1.018 GB, free: 6.992 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006884/0.7163, allocations: 0.8296 MB / 1.019 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.7165, allocations: 159.4 kB / 1.019 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.7166, allocations: 19.92 kB / 1.019 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.7169, allocations: 36.72 kB / 1.019 GB, free: 5.887 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.717, allocations: 39.83 kB / 1.019 GB, free: 5.848 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.717, allocations: 31.92 kB / 1.019 GB, free: 5.816 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0006468/0.7177, allocations: 0.7038 MB / 1.02 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7177, allocations: 0 / 1.02 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005785/0.7183, allocations: 259.9 kB / 1.02 GB, free: 4.848 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001065/0.7193, allocations: 1.481 MB / 1.022 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005939/0.7199, allocations: 483.5 kB / 1.022 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7199, allocations: 5.125 kB / 1.022 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.7201, allocations: 184.1 kB / 1.022 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.7217, allocations: 0.6102 MB / 1.023 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.7294, allocations: 7.643 MB / 1.03 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.7297, allocations: 0.5041 MB / 1.031 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0006662/0.7304, allocations: 240.4 kB / 1.031 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.7307, allocations: 343.3 kB / 1.031 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of SimCode: time 1.273e-06/0.7307, allocations: 4 kB / 1.031 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.7751, allocations: 30.89 MB / 1.062 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.815, allocations: 14.34 kB / 1.062 GB, free: 10.57 MB / 0.8386 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.824394875671715] Failed to read output from testmodel.py, exit status != 0: 7.910387154202908 7.924942157 7.227747531 Calling exit ...