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.0008311/0.0008311, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.00149/0.00149, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.8996/0.8996, allocations: 230.6 MB / 256 MB, free: 9.816 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.7873/0.7873, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.0009688/0.0009688, allocations: 66.08 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4667/0.4677, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1513/0.619, allocations: 174.7 MB / 0.9885 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005051/0.624, allocations: 4.327 MB / 0.9927 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.6247, allocations: 27.75 kB / 0.9927 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.6256, allocations: 370 kB / 0.9931 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.6277, allocations: 1.05 MB / 0.9941 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.6294, allocations: 0.8375 MB / 0.9949 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.631, allocations: 1.306 MB / 0.9962 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.6315, allocations: 386.3 kB / 0.9966 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.6328, allocations: 0.7473 MB / 0.9973 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.6338, allocations: 479.8 kB / 0.9977 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/0.6339, allocations: 52 kB / 0.9978 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.6352, allocations: 0.9588 MB / 0.9987 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.6354, allocations: 219.3 kB / 0.9989 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.6357, allocations: 326.6 kB / 0.9992 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.6371, allocations: 1.148 MB / 1 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6371, allocations: 0 / 1 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6371, allocations: 0 / 1 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.6371, allocations: 0 / 1 GB, free: 10.47 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001368/0.6385, allocations: 0.8936 MB / 1.001 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.6385, allocations: 8.031 kB / 1.001 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.872e-05/0.6386, allocations: 82.52 kB / 1.001 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009235/0.6395, allocations: 267.3 kB / 1.002 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006541/0.6402, allocations: 438.5 kB / 1.002 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.6402, allocations: 37 kB / 1.002 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.6402, allocations: 36 kB / 1.002 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.641, allocations: 0.6146 MB / 1.003 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.641, allocations: 0 / 1.003 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.6411, allocations: 24 kB / 1.003 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.6411, allocations: 17 kB / 1.003 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/0.642, allocations: 0.5503 MB / 1.003 GB, free: 7.426 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.003294/0.6453, allocations: 2.217 MB / 1.005 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.6459, allocations: 273.4 kB / 1.006 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.6462, allocations: 172.6 kB / 1.006 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.6462, allocations: 11.98 kB / 1.006 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.6462, allocations: 34.5 kB / 1.006 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 2.976e-06/0.6462, allocations: 0 / 1.006 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.002799/0.649, allocations: 1.009 MB / 1.007 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.6491, allocations: 85.11 kB / 1.007 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.6496, allocations: 0.5534 MB / 1.007 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.6496, allocations: 29.7 kB / 1.008 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.6497, allocations: 304.1 kB / 1.008 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.6498, allocations: 43.58 kB / 1.008 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.6499, allocations: 65.66 kB / 1.008 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.65, allocations: 358.8 kB / 1.008 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.6503, allocations: 187.8 kB / 1.008 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.6506, allocations: 267 kB / 1.009 GB, free: 1.617 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.6512, allocations: 407 kB / 1.009 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6512, allocations: 0 / 1.009 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001324/0.6525, allocations: 0.7248 MB / 1.01 GB, free: 468 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6525, allocations: 8 kB / 1.01 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.6525, allocations: 0 / 1.01 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.6529, allocations: 192.7 kB / 1.01 GB, free: 264 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.6531, allocations: 71.94 kB / 1.01 GB, free: 192 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.6555, allocations: 2.134 MB / 1.012 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.6559, allocations: 79.64 kB / 1.012 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.6559, allocations: 12 kB / 1.012 GB, free: 13.84 MB / 0.7917 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.0002441/0.6561, allocations: 193.7 kB / 1.012 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.6562, allocations: 55.72 kB / 1.012 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.274e-05/0.6563, allocations: 51.97 kB / 1.013 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6563, allocations: 7.922 kB / 1.013 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6563, allocations: 0 / 1.013 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6563, allocations: 4 kB / 1.013 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.658, allocations: 1.089 MB / 1.014 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.658, allocations: 4 kB / 1.014 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.6581, allocations: 40.02 kB / 1.014 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/0.6584, allocations: 180.7 kB / 1.014 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.6584, allocations: 4 kB / 1.014 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.6604, allocations: 2.095 MB / 1.016 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6604, allocations: 0 / 1.016 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.6617, allocations: 0.7043 MB / 1.017 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.6618, allocations: 91.66 kB / 1.017 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.6619, allocations: 3.938 kB / 1.017 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.6622, allocations: 53 kB / 1.017 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.6622, allocations: 15.97 kB / 1.017 GB, free: 9.051 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.6622, allocations: 15.98 kB / 1.017 GB, free: 9.035 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003232/0.6626, allocations: 394.8 kB / 1.017 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.6626, allocations: 0 / 1.017 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004612/0.663, allocations: 191.7 kB / 1.017 GB, free: 8.465 MB / 0.7917 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.001604/0.6646, allocations: 1.294 MB / 1.019 GB, free: 7.133 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.6657, allocations: 0.5161 MB / 1.019 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6657, allocations: 0 / 1.019 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.6661, allocations: 302.9 kB / 1.019 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009214/0.667, allocations: 307.3 kB / 1.02 GB, free: 6.008 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/0.6736, allocations: 5.077 MB / 1.025 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.6739, allocations: 0.862 MB / 1.025 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003365/0.6743, allocations: 108.5 kB / 1.026 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.6744, allocations: 159.4 kB / 1.026 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.6744, allocations: 0 / 1.026 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.7098, allocations: 17.18 MB / 1.042 GB, free: 14.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/9.062, allocations: 4.062 kB / 1.042 GB, free: 14.7 MB / 0.823 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.867685902165249] Failed to read output from testmodel.py, exit status != 0: 9.156779563054442 9.17413257 8.533737926 Calling exit ...