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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009647/0.009647, allocations: 101.1 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 199.3 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9298/0.9298, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4241, allocations: 80.91 MB / 0.6641 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2159/0.6401, allocations: 171 MB / 0.8311 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006943/0.6471, allocations: 4.284 MB / 0.8353 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008303/0.648, allocations: 19.88 kB / 0.8353 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.6491, allocations: 362 kB / 0.8357 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.6515, allocations: 1.023 MB / 0.8367 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.6536, allocations: 0.8233 MB / 0.8375 GB, free: 15.44 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.6552, allocations: 1.302 MB / 0.8387 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/0.6558, allocations: 487.3 kB / 0.8392 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.6571, allocations: 0.6966 MB / 0.8399 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.6581, allocations: 460.4 kB / 0.8403 GB, free: 12.51 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.116e-05/0.6582, allocations: 52 kB / 0.8404 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.6597, allocations: 0.9121 MB / 0.8413 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.66, allocations: 211.5 kB / 0.8415 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.6603, allocations: 334.5 kB / 0.8418 GB, free: 11.01 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.6618, allocations: 1.13 MB / 0.8429 GB, free: 9.875 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6618, allocations: 0 / 0.8429 GB, free: 9.875 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6618, allocations: 0 / 0.8429 GB, free: 9.875 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.6618, allocations: 8 kB / 0.8429 GB, free: 9.867 MB / 0.67 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.001542/0.6634, allocations: 0.9427 MB / 0.8438 GB, free: 8.875 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6634, allocations: 12.03 kB / 0.8438 GB, free: 8.863 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.6636, allocations: 86.52 kB / 0.8439 GB, free: 8.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.6652, allocations: 259 kB / 0.8442 GB, free: 8.516 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.666, allocations: 0.4974 MB / 0.8446 GB, free: 7.98 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.666, allocations: 37 kB / 0.8447 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.6661, allocations: 36 kB / 0.8447 GB, free: 7.91 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.6673, allocations: 0.6185 MB / 0.8453 GB, free: 7.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.6673, allocations: 4 kB / 0.8453 GB, free: 7.266 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.6674, allocations: 16 kB / 0.8453 GB, free: 7.25 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.6674, allocations: 24.98 kB / 0.8454 GB, free: 7.223 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.6687, allocations: 0.5425 MB / 0.8459 GB, free: 6.684 MB / 0.67 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.003828/0.6726, allocations: 2.26 MB / 0.8481 GB, free: 4.293 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008802/0.6735, allocations: 282.3 kB / 0.8484 GB, free: 4.008 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.674, allocations: 164.7 kB / 0.8485 GB, free: 3.844 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.674, allocations: 4.219 kB / 0.8485 GB, free: 3.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.6741, allocations: 42.48 kB / 0.8486 GB, free: 3.789 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.6741, allocations: 4 kB / 0.8486 GB, free: 3.785 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.004889/0.679, allocations: 1.095 MB / 0.8496 GB, free: 2.66 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.679, allocations: 81.05 kB / 0.8497 GB, free: 2.562 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.6798, allocations: 0.5458 MB / 0.8503 GB, free: 2.004 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.6798, allocations: 25.7 kB / 0.8503 GB, free: 1.973 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.6801, allocations: 311.5 kB / 0.8506 GB, free: 1.664 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.6801, allocations: 35.45 kB / 0.8506 GB, free: 1.629 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.6803, allocations: 61.61 kB / 0.8507 GB, free: 1.562 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6804, allocations: 354.8 kB / 0.851 GB, free: 1.207 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.681, allocations: 183.8 kB / 0.8512 GB, free: 1.027 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.6816, allocations: 280.1 kB / 0.8514 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.6827, allocations: 405.7 kB / 0.8518 GB, free: 300 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6827, allocations: 7.938 kB / 0.8518 GB, free: 292 kB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002493/0.6852, allocations: 0.725 MB / 0.8526 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6852, allocations: 4 kB / 0.8526 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6852, allocations: 4 kB / 0.8526 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.6859, allocations: 184.8 kB / 0.8527 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.6862, allocations: 67.88 kB / 0.8528 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/0.6903, allocations: 2.248 MB / 0.855 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.6909, allocations: 77.17 kB / 0.8551 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.6909, allocations: 15.98 kB / 0.8551 GB, free: 12.82 MB / 0.6856 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.000267/0.6912, allocations: 185.8 kB / 0.8553 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.6913, allocations: 59.38 kB / 0.8553 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.215e-05/0.6914, allocations: 52.03 kB / 0.8554 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.6914, allocations: 0 / 0.8554 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.6914, allocations: 4 kB / 0.8554 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6914, allocations: 0 / 0.8554 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.6943, allocations: 1.133 MB / 0.8565 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6943, allocations: 0 / 0.8565 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.6945, allocations: 40.02 kB / 0.8565 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005003/0.695, allocations: 188.6 kB / 0.8567 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.695, allocations: 0 / 0.8567 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/0.6984, allocations: 2.187 MB / 0.8588 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6984, allocations: 64 / 0.8588 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.7007, allocations: 0.704 MB / 0.8595 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.7009, allocations: 168.4 kB / 0.8597 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.701, allocations: 4 kB / 0.8597 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.7016, allocations: 47.94 kB / 0.8597 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.7016, allocations: 19.92 kB / 0.8597 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.7017, allocations: 7.984 kB / 0.8598 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004664/0.7022, allocations: 394.8 kB / 0.8601 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7022, allocations: 0 / 0.8601 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006316/0.7028, allocations: 183.8 kB / 0.8603 GB, free: 7.207 MB / 0.6856 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.002884/0.7057, allocations: 1.322 MB / 0.8616 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.7072, allocations: 0.527 MB / 0.8621 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7072, allocations: 0 / 0.8621 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.7079, allocations: 295 kB / 0.8624 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.7092, allocations: 313.3 kB / 0.8627 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3262/1.035, allocations: 5.059 MB / 0.8676 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/1.036, allocations: 0.8596 MB / 0.8685 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004637/1.036, allocations: 109.5 kB / 0.8686 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/1.036, allocations: 163.9 kB / 0.8687 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of SimCode: time 8.11e-07/1.036, allocations: 0 / 0.8687 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/1.079, allocations: 16.9 MB / 0.8852 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.04, allocations: 13.42 kB / 0.8853 GB, free: 184.9 MB / 0.6856 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)