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.001461/0.001461, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001845/0.001845, allocations: 217 kB / 22.25 MB, free: 5.082 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 8.027 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.8868/0.8868, allocations: 134 MB / 446.4 MB, free: 10.23 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_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.002221/0.002221, allocations: 65.75 kB / 0.6185 GB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1711, allocations: 85.91 MB / 0.7024 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5879/0.759, allocations: 174.7 MB / 0.873 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007828/0.7669, allocations: 4.314 MB / 0.8772 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008537/0.7677, allocations: 31.69 kB / 0.8772 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.769, allocations: 366 kB / 0.8776 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.772, allocations: 1.042 MB / 0.8786 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.7746, allocations: 0.8414 MB / 0.8794 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002335/0.7769, allocations: 1.316 MB / 0.8807 GB, free: 56 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008469/0.7778, allocations: 383.4 kB / 0.8811 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.7795, allocations: 0.7122 MB / 0.8818 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.781, allocations: 485.3 kB / 0.8822 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.7812, allocations: 52 kB / 0.8823 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.7833, allocations: 0.9549 MB / 0.8832 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.7837, allocations: 219.3 kB / 0.8834 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006491/0.7843, allocations: 330.5 kB / 0.8837 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.787, allocations: 1.137 MB / 0.8848 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.787, allocations: 3.938 kB / 0.8848 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.787, allocations: 4 kB / 0.8849 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.436e-05/0.7871, allocations: 0 / 0.8849 GB, free: 11.8 MB / 0.6544 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.002556/0.7896, allocations: 0.8936 MB / 0.8857 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.7897, allocations: 12.03 kB / 0.8857 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.7899, allocations: 86.52 kB / 0.8858 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.7917, allocations: 263.3 kB / 0.8861 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.7929, allocations: 438.6 kB / 0.8865 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.7929, allocations: 33 kB / 0.8865 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.7931, allocations: 36 kB / 0.8866 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.7946, allocations: 0.6185 MB / 0.8872 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.7946, allocations: 3.938 kB / 0.8872 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.7947, allocations: 20 kB / 0.8872 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.7947, allocations: 20.98 kB / 0.8872 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.7962, allocations: 0.5425 MB / 0.8877 GB, free: 8.754 MB / 0.6544 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.004646/0.8008, allocations: 2.237 MB / 0.8899 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/0.8018, allocations: 270.3 kB / 0.8902 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.8023, allocations: 168.7 kB / 0.8903 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.8023, allocations: 4 kB / 0.8903 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.8024, allocations: 34.56 kB / 0.8904 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 2.384e-06/0.8024, allocations: 0 / 0.8904 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.005138/0.8075, allocations: 1.013 MB / 0.8914 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.8076, allocations: 81.11 kB / 0.8914 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008094/0.8084, allocations: 0.5496 MB / 0.892 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.8084, allocations: 33.7 kB / 0.892 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.8087, allocations: 304.1 kB / 0.8923 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.8088, allocations: 51.58 kB / 0.8923 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.8089, allocations: 57.66 kB / 0.8924 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.8091, allocations: 358.8 kB / 0.8927 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.8096, allocations: 191.8 kB / 0.8929 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.8103, allocations: 274.1 kB / 0.8932 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.8114, allocations: 411 kB / 0.8936 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.8114, allocations: 3.938 kB / 0.8936 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002717/0.8141, allocations: 0.728 MB / 0.8943 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8141, allocations: 4 kB / 0.8943 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.8141, allocations: 4.5 kB / 0.8943 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.8148, allocations: 188.8 kB / 0.8945 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.8152, allocations: 70.45 kB / 0.8945 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004304/0.8195, allocations: 2.141 MB / 0.8966 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006731/0.8202, allocations: 79.58 kB / 0.8967 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.8202, allocations: 11.98 kB / 0.8967 GB, free: 15.14 MB / 0.67 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.0003423/0.8205, allocations: 193.7 kB / 0.8969 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.8207, allocations: 51.66 kB / 0.897 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.8208, allocations: 56.03 kB / 0.897 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8208, allocations: 0 / 0.897 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8208, allocations: 4.875 kB / 0.897 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8208, allocations: 0 / 0.897 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/0.8241, allocations: 1.097 MB / 0.8981 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8241, allocations: 0 / 0.8981 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.8243, allocations: 35.95 kB / 0.8981 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005359/0.8249, allocations: 192.9 kB / 0.8983 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.8249, allocations: 7.938 kB / 0.8983 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/0.8286, allocations: 2.08 MB / 0.9003 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8286, allocations: 0 / 0.9003 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.8312, allocations: 0.7082 MB / 0.901 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.8315, allocations: 91.66 kB / 0.9011 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.8316, allocations: 3.938 kB / 0.9011 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.8322, allocations: 48.7 kB / 0.9012 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.8323, allocations: 15.97 kB / 0.9012 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.8323, allocations: 11.98 kB / 0.9012 GB, free: 10.35 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005069/0.8328, allocations: 394.8 kB / 0.9016 GB, free: 9.965 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8328, allocations: 0 / 0.9016 GB, free: 9.965 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006762/0.8335, allocations: 183.7 kB / 0.9018 GB, free: 9.785 MB / 0.67 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.003025/0.8365, allocations: 1.308 MB / 0.903 GB, free: 8.438 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.8381, allocations: 0.5112 MB / 0.9035 GB, free: 7.914 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8381, allocations: 3.938 kB / 0.9035 GB, free: 7.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.8389, allocations: 298.9 kB / 0.9038 GB, free: 7.605 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.8404, allocations: 315.5 kB / 0.9041 GB, free: 7.316 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.8523, allocations: 5.066 MB / 0.9091 GB, free: 2.094 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.8529, allocations: 0.8621 MB / 0.9099 GB, free: 1.203 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004374/0.8533, allocations: 108.5 kB / 0.91 GB, free: 1.098 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.8536, allocations: 167.4 kB / 0.9102 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.8536, allocations: 0 / 0.9102 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05886/0.9124, allocations: 17.2 MB / 0.927 GB, free: 20 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.24, allocations: 14.55 kB / 0.927 GB, free: 8 kB / 0.6856 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: 17.97505138395354] Failed to read output from testmodel.py, exit status != 0: 14.365895909024402 14.389753288 13.597938807 Calling exit ...