Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.007254/0.007255, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001463/0.001463, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4541, allocations: 80.92 MB / 0.6641 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2109/0.665, allocations: 171.1 MB / 0.8312 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006837/0.6719, allocations: 4.294 MB / 0.8354 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000765/0.6727, allocations: 19.88 kB / 0.8354 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.6739, allocations: 373.9 kB / 0.8358 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.6767, allocations: 1.26 MB / 0.837 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.6787, allocations: 0.7989 MB / 0.8378 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002084/0.6808, allocations: 1.69 MB / 0.8394 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007468/0.6816, allocations: 0.5699 MB / 0.84 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.6829, allocations: 0.7161 MB / 0.8407 GB, free: 12.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.6841, allocations: 0.5575 MB / 0.8412 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.6842, allocations: 64 kB / 0.8413 GB, free: 11.56 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.6857, allocations: 0.8068 MB / 0.8421 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.686, allocations: 263.3 kB / 0.8423 GB, free: 10.49 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.6865, allocations: 414.2 kB / 0.8427 GB, free: 10.09 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.6882, allocations: 1.262 MB / 0.8439 GB, free: 8.82 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6882, allocations: 4 kB / 0.8439 GB, free: 8.816 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6883, allocations: 8 kB / 0.844 GB, free: 8.809 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.6883, allocations: 0 / 0.844 GB, free: 8.809 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001894/0.6902, allocations: 1.059 MB / 0.845 GB, free: 7.695 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.6902, allocations: 12.03 kB / 0.845 GB, free: 7.684 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.6904, allocations: 94.52 kB / 0.8451 GB, free: 7.582 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009881/0.6914, allocations: 159.4 kB / 0.8452 GB, free: 7.426 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/0.6922, allocations: 0.5565 MB / 0.8458 GB, free: 6.832 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.6923, allocations: 49.25 kB / 0.8458 GB, free: 6.785 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.589e-05/0.6924, allocations: 48 kB / 0.8459 GB, free: 6.738 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.6935, allocations: 0.644 MB / 0.8465 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.6935, allocations: 0 / 0.8465 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.6936, allocations: 24 kB / 0.8465 GB, free: 6.055 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.6936, allocations: 25.31 kB / 0.8466 GB, free: 6.027 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/0.6945, allocations: 0.5164 MB / 0.8471 GB, free: 5.512 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.003114/0.6976, allocations: 2.302 MB / 0.8493 GB, free: 3.043 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.6981, allocations: 254.8 kB / 0.8495 GB, free: 2.785 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.6984, allocations: 136.7 kB / 0.8497 GB, free: 2.648 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.6984, allocations: 4 kB / 0.8497 GB, free: 2.645 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6984, allocations: 38.56 kB / 0.8497 GB, free: 2.598 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.6984, allocations: 0 / 0.8497 GB, free: 2.598 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001619/0.7001, allocations: 0.6791 MB / 0.8504 GB, free: 1.871 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.7001, allocations: 85.05 kB / 0.8505 GB, free: 1.77 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.7007, allocations: 0.5536 MB / 0.851 GB, free: 1.203 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.7008, allocations: 33.7 kB / 0.851 GB, free: 1.164 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.701, allocations: 336.1 kB / 0.8514 GB, free: 0.832 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.7011, allocations: 83.36 kB / 0.8514 GB, free: 0.75 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.7012, allocations: 69.98 kB / 0.8515 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7014, allocations: 366.7 kB / 0.8519 GB, free: 316 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.7016, allocations: 124.6 kB / 0.852 GB, free: 192 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.7019, allocations: 223.5 kB / 0.8522 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.7024, allocations: 337.6 kB / 0.8525 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7025, allocations: 0 / 0.8525 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008536/0.7033, allocations: 498.7 kB / 0.853 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.7034, allocations: 11.94 kB / 0.853 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7034, allocations: 3.938 kB / 0.853 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.7037, allocations: 105.8 kB / 0.8531 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.704, allocations: 71.91 kB / 0.8532 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.7069, allocations: 3.336 MB / 0.8564 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.7073, allocations: 55.56 kB / 0.8565 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.7074, allocations: 8 kB / 0.8565 GB, free: 11.2 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.7076, allocations: 227.9 kB / 0.8567 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/0.7077, allocations: 59.61 kB / 0.8568 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.388e-05/0.7078, allocations: 52.7 kB / 0.8568 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.7078, allocations: 7.984 kB / 0.8568 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7078, allocations: 4 kB / 0.8568 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006771/0.7085, allocations: 0.5228 MB / 0.8573 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.7097, allocations: 0.9221 MB / 0.8582 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7098, allocations: 0 / 0.8582 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.71, allocations: 35.98 kB / 0.8583 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.7102, allocations: 72.86 kB / 0.8583 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.7102, allocations: 0 / 0.8583 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.7118, allocations: 1.817 MB / 0.8601 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7118, allocations: 3.938 kB / 0.8601 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.7124, allocations: 448.4 kB / 0.8605 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.7127, allocations: 168.9 kB / 0.8607 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-05/0.7128, allocations: 8 kB / 0.8607 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.7132, allocations: 23.97 kB / 0.8607 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.7133, allocations: 15.98 kB / 0.8607 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.7133, allocations: 15.92 kB / 0.8608 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004329/0.7137, allocations: 406.8 kB / 0.8612 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7138, allocations: 3.938 kB / 0.8612 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005842/0.7143, allocations: 203.7 kB / 0.8614 GB, free: 5.887 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.7155, allocations: 1.029 MB / 0.8624 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008599/0.7164, allocations: 0.5287 MB / 0.8629 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7164, allocations: 4.188 kB / 0.8629 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.7167, allocations: 262.5 kB / 0.8631 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.7183, allocations: 369.8 kB / 0.8635 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3491/1.067, allocations: 4.467 MB / 0.8678 GB, free: 191 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/1.068, allocations: 0.9082 MB / 0.8687 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005627/1.068, allocations: 110.2 kB / 0.8688 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/1.069, allocations: 197.1 kB / 0.869 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of SimCode: time 9.41e-07/1.069, allocations: 0 / 0.869 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/1.112, allocations: 17.81 MB / 0.8864 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.59, allocations: 13.38 kB / 0.8864 GB, free: 183.3 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)