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.0077/0.0077, allocations: 103 kB / 15.73 MB, free: 6.035 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.001879/0.001879, allocations: 190.7 kB / 16.67 MB, free: 5.957 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7868/0.7868, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 72.11 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1644, allocations: 80.92 MB / 0.6641 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5925/0.757, allocations: 171.1 MB / 0.8312 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008108/0.7651, allocations: 4.292 MB / 0.8354 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.7665, allocations: 19.31 kB / 0.8354 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.768, allocations: 376 kB / 0.8357 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.7715, allocations: 1.264 MB / 0.837 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.7737, allocations: 0.7982 MB / 0.8378 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.7759, allocations: 1.688 MB / 0.8394 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007423/0.7767, allocations: 0.5706 MB / 0.84 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.7779, allocations: 0.7161 MB / 0.8407 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.7791, allocations: 0.5508 MB / 0.8412 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.7792, allocations: 62.84 kB / 0.8413 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.7808, allocations: 0.8081 MB / 0.8421 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.7811, allocations: 266.8 kB / 0.8423 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.7815, allocations: 405.7 kB / 0.8427 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.7832, allocations: 1.271 MB / 0.8439 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7832, allocations: 0 / 0.8439 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7832, allocations: 0 / 0.8439 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.7832, allocations: 0 / 0.8439 GB, free: 4.238 MB / 0.6075 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.001665/0.7849, allocations: 1.042 MB / 0.845 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.7849, allocations: 8.547 kB / 0.845 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.785, allocations: 96.77 kB / 0.8451 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009588/0.786, allocations: 163.4 kB / 0.8452 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008261/0.7868, allocations: 0.549 MB / 0.8457 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.7869, allocations: 37.84 kB / 0.8458 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.787, allocations: 55.06 kB / 0.8458 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.788, allocations: 0.6572 MB / 0.8465 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.788, allocations: 2.562 kB / 0.8465 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.7881, allocations: 21.09 kB / 0.8465 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.7881, allocations: 25 kB / 0.8465 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008278/0.7889, allocations: 0.5079 MB / 0.847 GB, free: 2.098 MB / 0.6075 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.003118/0.7921, allocations: 2.297 MB / 0.8493 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.7925, allocations: 256.2 kB / 0.8495 GB, free: 60 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.7928, allocations: 133.4 kB / 0.8496 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.7928, allocations: 2.844 kB / 0.8496 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.7929, allocations: 37 kB / 0.8497 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.7929, allocations: 0 / 0.8497 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20): time 0.001582/0.7945, allocations: 0.6673 MB / 0.8503 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.7945, allocations: 84.03 kB / 0.8504 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.7951, allocations: 0.5622 MB / 0.8509 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.7952, allocations: 32.14 kB / 0.851 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.7954, allocations: 336.9 kB / 0.8513 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.7955, allocations: 73.39 kB / 0.8514 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.7956, allocations: 69.47 kB / 0.8514 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7957, allocations: 363.3 kB / 0.8518 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.796, allocations: 126.3 kB / 0.8519 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.7962, allocations: 222 kB / 0.8521 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.7967, allocations: 339.3 kB / 0.8524 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.7967, allocations: 4 kB / 0.8524 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008408/0.7976, allocations: 0.491 MB / 0.8529 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.7976, allocations: 7.438 kB / 0.8529 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7976, allocations: 6.562 kB / 0.8529 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.7979, allocations: 100.8 kB / 0.853 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.7983, allocations: 69.34 kB / 0.8531 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.8011, allocations: 3.335 MB / 0.8564 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.8016, allocations: 55.53 kB / 0.8564 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.8017, allocations: 11.94 kB / 0.8564 GB, free: 9.902 MB / 0.6231 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.0003197/0.802, allocations: 221.7 kB / 0.8566 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.8021, allocations: 55.34 kB / 0.8567 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/0.8022, allocations: 56.45 kB / 0.8567 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8022, allocations: 4 kB / 0.8567 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8023, allocations: 3.984 kB / 0.8567 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007001/0.803, allocations: 0.5228 MB / 0.8573 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.8042, allocations: 0.9182 MB / 0.8582 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8042, allocations: 4.062 kB / 0.8582 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.8045, allocations: 39.92 kB / 0.8582 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.8047, allocations: 68.8 kB / 0.8583 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.8047, allocations: 4 kB / 0.8583 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.8064, allocations: 1.827 MB / 0.86 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8064, allocations: 4.031 kB / 0.8601 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/0.807, allocations: 445.2 kB / 0.8605 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.8073, allocations: 172.3 kB / 0.8606 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.8073, allocations: 4 kB / 0.8606 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.8078, allocations: 29.84 kB / 0.8607 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.8078, allocations: 15.98 kB / 0.8607 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.8079, allocations: 11.98 kB / 0.8607 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004558/0.8084, allocations: 402.8 kB / 0.8611 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8084, allocations: 0 / 0.8611 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006982/0.8091, allocations: 195.7 kB / 0.8613 GB, free: 4.605 MB / 0.6231 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.001246/0.8103, allocations: 1.034 MB / 0.8623 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009129/0.8112, allocations: 0.5346 MB / 0.8628 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8113, allocations: 0 / 0.8628 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.8116, allocations: 258.5 kB / 0.863 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.8131, allocations: 374.4 kB / 0.8634 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006314/0.8195, allocations: 4.459 MB / 0.8678 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.82, allocations: 0.9054 MB / 0.8686 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004673/0.8205, allocations: 112.8 kB / 0.8688 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.8208, allocations: 191.4 kB / 0.8689 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/0.8208, allocations: 4 kB / 0.8689 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04662/0.8674, allocations: 17.8 MB / 0.8863 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.78, allocations: 10.47 kB / 0.8863 GB, free: 11.01 MB / 0.6544 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)