Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001487/0.001487, 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: 223.6 kB / 23.03 MB, free: 4.945 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.349/1.349, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00247/0.00247, allocations: 298.1 kB / 313.5 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.169/1.169, allocations: 180.6 MB / 0.5377 GB, free: 14.68 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002713/0.002713, allocations: 100 kB / 0.7402 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1654, allocations: 95.39 MB / 0.8334 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1774/0.3428, allocations: 150.7 MB / 0.9806 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3941/0.7369, allocations: 3.998 MB / 0.9845 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006751/0.7376, allocations: 30.78 kB / 0.9845 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009283/0.7385, allocations: 329.1 kB / 0.9849 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.7407, allocations: 1.044 MB / 0.9859 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.7427, allocations: 0.8303 MB / 0.9867 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.7443, allocations: 1.32 MB / 0.988 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005527/0.7448, allocations: 372.8 kB / 0.9883 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.746, allocations: 0.718 MB / 0.989 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.7471, allocations: 480 kB / 0.9895 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.354e-05/0.7472, allocations: 53.28 kB / 0.9895 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.7485, allocations: 0.7728 MB / 0.9903 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.7487, allocations: 220.1 kB / 0.9905 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.749, allocations: 275.9 kB / 0.9908 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.7503, allocations: 1.121 MB / 0.9919 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7503, allocations: 1.5 kB / 0.9919 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7503, allocations: 0 / 0.9919 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.7503, allocations: 2.75 kB / 0.9919 GB, free: 3.543 MB / 0.7169 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.001584/0.7519, allocations: 0.8943 MB / 0.9927 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.752, allocations: 10.78 kB / 0.9927 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.47e-05/0.752, allocations: 12.7 kB / 0.9928 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.201e-05/0.7521, allocations: 89.53 kB / 0.9928 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.7537, allocations: 264.4 kB / 0.9931 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/0.7545, allocations: 434.8 kB / 0.9935 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.7545, allocations: 31.94 kB / 0.9935 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.7546, allocations: 38.69 kB / 0.9936 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.7559, allocations: 0.8948 MB / 0.9945 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.756, allocations: 8.078 kB / 0.9945 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.756, allocations: 17.16 kB / 0.9945 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.661e-05/0.7561, allocations: 19.12 kB / 0.9945 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.7574, allocations: 0.5454 MB / 0.995 GB, free: 18.35 MB / 0.7325 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.003947/0.7614, allocations: 1.901 MB / 0.9969 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008816/0.7623, allocations: 275 kB / 0.9971 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.7628, allocations: 163 kB / 0.9973 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.7628, allocations: 7.609 kB / 0.9973 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.7628, allocations: 38.06 kB / 0.9973 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.7628, allocations: 0.8125 kB / 0.9973 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005234/0.7681, allocations: 1.015 MB / 0.9983 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.7681, allocations: 87.02 kB / 0.9984 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/0.7689, allocations: 0.5518 MB / 0.999 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.769, allocations: 32.77 kB / 0.999 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.7692, allocations: 307.3 kB / 0.9993 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.7692, allocations: 43.33 kB / 0.9993 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.7693, allocations: 61.66 kB / 0.9994 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.7695, allocations: 357.5 kB / 0.9997 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.7701, allocations: 185.5 kB / 0.9999 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.7707, allocations: 297 kB / 1 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.7719, allocations: 401.1 kB / 1.001 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7719, allocations: 1.344 kB / 1.001 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002508/0.7744, allocations: 0.7359 MB / 1.001 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7744, allocations: 6.969 kB / 1.001 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.7744, allocations: 3.016 kB / 1.001 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/0.775, allocations: 188.8 kB / 1.001 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.7753, allocations: 69.06 kB / 1.002 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.7789, allocations: 2.098 MB / 1.004 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.7795, allocations: 72.58 kB / 1.004 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.7795, allocations: 17.69 kB / 1.004 GB, free: 15.14 MB / 0.7325 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.0002579/0.7797, allocations: 192 kB / 1.004 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.7798, allocations: 58.36 kB / 1.004 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.63e-05/0.7799, allocations: 52.55 kB / 1.004 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7799, allocations: 1.25 kB / 1.004 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.7799, allocations: 1 kB / 1.004 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.7799, allocations: 1.094 kB / 1.004 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.7827, allocations: 1.044 MB / 1.005 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7827, allocations: 96 / 1.005 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.7829, allocations: 42.92 kB / 1.005 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.7834, allocations: 184.1 kB / 1.005 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.7834, allocations: 6.688 kB / 1.005 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/0.7867, allocations: 2.068 MB / 1.007 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7867, allocations: 1.094 kB / 1.007 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.789, allocations: 0.6948 MB / 1.008 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.7892, allocations: 97.23 kB / 1.008 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.7893, allocations: 6.312 kB / 1.008 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.7898, allocations: 53.83 kB / 1.008 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.7899, allocations: 14.25 kB / 1.008 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.7899, allocations: 13.17 kB / 1.008 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003973/0.7903, allocations: 395.3 kB / 1.008 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7903, allocations: 0 / 1.008 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005955/0.7909, allocations: 186.7 kB / 1.009 GB, free: 13.12 MB / 0.7325 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.002678/0.7936, allocations: 1.295 MB / 1.01 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.7949, allocations: 0.5163 MB / 1.01 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7949, allocations: 2.906 kB / 1.01 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006041/0.7955, allocations: 294.2 kB / 1.011 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.7968, allocations: 310 kB / 1.011 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009958/0.8067, allocations: 5.074 MB / 1.016 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.807, allocations: 262.3 kB / 1.016 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004462/0.8074, allocations: 112.5 kB / 1.016 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.8076, allocations: 161.7 kB / 1.016 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/0.8076, allocations: 1.203 kB / 1.016 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.8513, allocations: 17.89 MB / 1.034 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.68, allocations: 11.42 kB / 1.034 GB, free: 7.328 MB / 0.7325 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.680790862999856] Failed to read output from testmodel.py, exit status != 0: 13.857560497010127 13.869047189 13.116362408 Calling exit ...