Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001246/0.001246, allocations: 101.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.001019/0.001019, allocations: 209.2 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.9773/0.9773, allocations: 230.6 MB / 256 MB, free: 9.578 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.7985/0.7985, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.001202/0.001202, allocations: 70.58 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5691, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1607/0.7298, allocations: 150.9 MB / 0.9651 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005887/0.7357, allocations: 4.021 MB / 0.9691 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008352/0.7365, allocations: 23.81 kB / 0.9691 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009596/0.7375, allocations: 338 kB / 0.9694 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.7399, allocations: 1.046 MB / 0.9704 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.7417, allocations: 0.8345 MB / 0.9712 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.7433, allocations: 1.298 MB / 0.9725 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.7439, allocations: 378.2 kB / 0.9729 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.7451, allocations: 0.7512 MB / 0.9736 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009863/0.7461, allocations: 450.2 kB / 0.974 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.7462, allocations: 52 kB / 0.9741 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.7473, allocations: 0.7521 MB / 0.9748 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.7475, allocations: 215.3 kB / 0.975 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.7477, allocations: 282.8 kB / 0.9753 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.7494, allocations: 1.125 MB / 0.9764 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.7494, allocations: 0 / 0.9764 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7494, allocations: 0 / 0.9764 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.7494, allocations: 0 / 0.9764 GB, free: 2.781 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001556/0.751, allocations: 0.8896 MB / 0.9773 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.751, allocations: 8.031 kB / 0.9773 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.584e-05/0.7511, allocations: 86.52 kB / 0.9774 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.7521, allocations: 263.3 kB / 0.9776 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.7528, allocations: 442.5 kB / 0.978 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.7528, allocations: 33 kB / 0.9781 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.7528, allocations: 36 kB / 0.9781 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.7538, allocations: 0.8985 MB / 0.979 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.7538, allocations: 0 / 0.979 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.7539, allocations: 20 kB / 0.979 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.7539, allocations: 17 kB / 0.979 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.7548, allocations: 0.5464 MB / 0.9795 GB, free: 15.4 MB / 0.7605 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.002455/0.7573, allocations: 1.892 MB / 0.9814 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.7578, allocations: 275.5 kB / 0.9817 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.7581, allocations: 164.7 kB / 0.9818 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.7581, allocations: 0 / 0.9818 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.7581, allocations: 38.56 kB / 0.9818 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.7581, allocations: 0 / 0.9818 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.003048/0.7611, allocations: 1.017 MB / 0.9828 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.7612, allocations: 85.05 kB / 0.9829 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.7617, allocations: 0.5611 MB / 0.9835 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.7617, allocations: 29.7 kB / 0.9835 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.7619, allocations: 304.1 kB / 0.9838 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.7619, allocations: 43.64 kB / 0.9838 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.762, allocations: 65.64 kB / 0.9839 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.7621, allocations: 354.8 kB / 0.9842 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.7624, allocations: 191.8 kB / 0.9844 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.7628, allocations: 293.8 kB / 0.9847 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/0.7633, allocations: 405.2 kB / 0.9851 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7633, allocations: 4 kB / 0.9851 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001336/0.7647, allocations: 0.7209 MB / 0.9858 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7647, allocations: 4 kB / 0.9858 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7647, allocations: 4 kB / 0.9858 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.7651, allocations: 192.8 kB / 0.986 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.7653, allocations: 71.88 kB / 0.986 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.7677, allocations: 2.109 MB / 0.9881 GB, free: 6.273 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.7682, allocations: 75.58 kB / 0.9882 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.7682, allocations: 8 kB / 0.9882 GB, free: 6.191 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.7685, allocations: 201.7 kB / 0.9884 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.7686, allocations: 51.72 kB / 0.9884 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.7687, allocations: 51.97 kB / 0.9885 GB, free: 5.883 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7687, allocations: 0 / 0.9885 GB, free: 5.883 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.7687, allocations: 4.188 kB / 0.9885 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7687, allocations: 0 / 0.9885 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.7704, allocations: 1.05 MB / 0.9895 GB, free: 4.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7704, allocations: 0 / 0.9895 GB, free: 4.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.7705, allocations: 40.02 kB / 0.9895 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006223/0.7712, allocations: 184.7 kB / 0.9897 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.7712, allocations: 0 / 0.9897 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.7732, allocations: 2.052 MB / 0.9917 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7732, allocations: 0 / 0.9917 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.7746, allocations: 0.7111 MB / 0.9924 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.7748, allocations: 99.55 kB / 0.9925 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.7749, allocations: 8 kB / 0.9925 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.7752, allocations: 55.88 kB / 0.9926 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.7752, allocations: 11.92 kB / 0.9926 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.7753, allocations: 15.98 kB / 0.9926 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004008/0.7757, allocations: 394.8 kB / 0.993 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7757, allocations: 0 / 0.993 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005666/0.7762, allocations: 179.8 kB / 0.9932 GB, free: 0.8984 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/0.7781, allocations: 1.3 MB / 0.9944 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.7791, allocations: 0.5179 MB / 0.9949 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7791, allocations: 4 kB / 0.9949 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.7795, allocations: 295 kB / 0.9952 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/0.7805, allocations: 308.4 kB / 0.9955 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/0.7875, allocations: 5.066 MB / 1 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.7877, allocations: 268 kB / 1.001 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003557/0.7881, allocations: 104.5 kB / 1.001 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.7883, allocations: 163.4 kB / 1.001 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of SimCode: time 1.243e-06/0.7883, allocations: 0 / 1.001 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04614/0.8344, allocations: 18.3 MB / 1.019 GB, free: 6.73 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.689, allocations: 17.73 kB / 1.019 GB, free: 6.715 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.70939413504675] Failed to read output from testmodel.py, exit status != 0: 8.784900330938399 8.793756754 8.04233889 Calling exit ...