Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00182/0.00182, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001633/0.001633, allocations: 215.1 kB / 23.02 MB, free: 4.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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8735/0.8735, allocations: 134 MB / 447.2 MB, free: 9.941 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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.002149/0.002149, allocations: 58.16 kB / 0.6192 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1806, allocations: 85.92 MB / 0.7031 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5664/0.7471, allocations: 150.7 MB / 0.8503 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007384/0.7545, allocations: 4.015 MB / 0.8542 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009031/0.7554, allocations: 31.75 kB / 0.8543 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.7565, allocations: 326 kB / 0.8546 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.7596, allocations: 1.042 MB / 0.8556 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.7622, allocations: 0.8324 MB / 0.8564 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.7644, allocations: 1.306 MB / 0.8577 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008445/0.7653, allocations: 388 kB / 0.8581 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.7672, allocations: 0.7084 MB / 0.8588 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.7687, allocations: 488.1 kB / 0.8592 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.7689, allocations: 56 kB / 0.8593 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.7709, allocations: 0.7716 MB / 0.86 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004563/0.7713, allocations: 219.3 kB / 0.8602 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007266/0.7721, allocations: 270.9 kB / 0.8605 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.7753, allocations: 1.125 MB / 0.8616 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7753, allocations: 0 / 0.8616 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.965e-06/0.7753, allocations: 0 / 0.8616 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.221e-05/0.7754, allocations: 0 / 0.8616 GB, free: 0.9688 MB / 0.6231 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.002458/0.7778, allocations: 0.8935 MB / 0.8625 GB, free: 40 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.7779, allocations: 16.02 kB / 0.8625 GB, free: 24 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.105e-05/0.7779, allocations: 9 kB / 0.8625 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.778, allocations: 82.53 kB / 0.8626 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.7799, allocations: 267.3 kB / 0.8628 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.7809, allocations: 442.5 kB / 0.8632 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.7809, allocations: 29 kB / 0.8633 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.781, allocations: 40 kB / 0.8633 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.7825, allocations: 0.8992 MB / 0.8642 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.7825, allocations: 0 / 0.8642 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.7826, allocations: 20 kB / 0.8642 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.7826, allocations: 20.98 kB / 0.8642 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.7841, allocations: 0.5464 MB / 0.8648 GB, free: 13.56 MB / 0.6387 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.004253/0.7883, allocations: 1.912 MB / 0.8666 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009354/0.7892, allocations: 266.4 kB / 0.8669 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.7898, allocations: 164.9 kB / 0.867 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.7898, allocations: 3.938 kB / 0.867 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.7898, allocations: 45.69 kB / 0.8671 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=11): time 2.184e-06/0.7898, allocations: 4 kB / 0.8671 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.005312/0.7952, allocations: 1.009 MB / 0.8681 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.7952, allocations: 81.11 kB / 0.8682 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007708/0.796, allocations: 0.5496 MB / 0.8687 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.7961, allocations: 29.7 kB / 0.8687 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.7963, allocations: 308.1 kB / 0.869 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.7964, allocations: 51.58 kB / 0.8691 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.7965, allocations: 61.66 kB / 0.8691 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7967, allocations: 358.8 kB / 0.8695 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005711/0.7972, allocations: 179.8 kB / 0.8696 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/0.7979, allocations: 329.5 kB / 0.8699 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.7991, allocations: 406.5 kB / 0.8703 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.7991, allocations: 0 / 0.8703 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002769/0.8018, allocations: 0.729 MB / 0.871 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.8019, allocations: 8 kB / 0.8711 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.8019, allocations: 0 / 0.8711 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007034/0.8026, allocations: 188.7 kB / 0.8712 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.803, allocations: 71.94 kB / 0.8713 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.8071, allocations: 2.104 MB / 0.8734 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.8078, allocations: 83.62 kB / 0.8734 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.8079, allocations: 12 kB / 0.8734 GB, free: 4.297 MB / 0.6387 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.0003256/0.8082, allocations: 188.3 kB / 0.8736 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.8083, allocations: 51.66 kB / 0.8737 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.8084, allocations: 56.03 kB / 0.8737 GB, free: 4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8084, allocations: 3.938 kB / 0.8737 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.8084, allocations: 4 kB / 0.8737 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8084, allocations: 192 / 0.8737 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.8115, allocations: 1.05 MB / 0.8748 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8115, allocations: 0 / 0.8748 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.8118, allocations: 39.95 kB / 0.8748 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005566/0.8123, allocations: 176.7 kB / 0.875 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.8123, allocations: 15.97 kB / 0.875 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/0.8162, allocations: 2.052 MB / 0.877 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8162, allocations: 4.062 kB / 0.877 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.8189, allocations: 0.6926 MB / 0.8777 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.8192, allocations: 95.78 kB / 0.8778 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.8193, allocations: 15.94 kB / 0.8778 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.8198, allocations: 39.94 kB / 0.8778 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.8199, allocations: 19.97 kB / 0.8778 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.8199, allocations: 15.98 kB / 0.8778 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005578/0.8205, allocations: 390.8 kB / 0.8782 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8205, allocations: 0 / 0.8782 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006767/0.8212, allocations: 187.7 kB / 0.8784 GB, free: 15.02 MB / 0.6544 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.003135/0.8243, allocations: 1.297 MB / 0.8797 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.8259, allocations: 0.514 MB / 0.8802 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.8259, allocations: 0 / 0.8802 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007565/0.8267, allocations: 302.8 kB / 0.8805 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.8282, allocations: 312.5 kB / 0.8808 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.8402, allocations: 5.074 MB / 0.8857 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.8406, allocations: 264.1 kB / 0.886 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005616/0.8411, allocations: 104.5 kB / 0.8861 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.8414, allocations: 155.4 kB / 0.8862 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of SimCode: time 1.402e-06/0.8414, allocations: 0 / 0.8862 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/0.8899, allocations: 17.92 MB / 0.9037 GB, free: 5.262 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.31, allocations: 15.31 kB / 0.9037 GB, free: 5.25 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.068863141001202] Failed to read output from testmodel.py, exit status != 0: 14.487222576979548 14.516969548 13.735985063 Calling exit ...