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.006832/0.006832, allocations: 99.7 kB / 15.73 MB, free: 6.043 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.001276/0.001276, allocations: 197.7 kB / 16.67 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9766/0.9766, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.89 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4139, allocations: 80.91 MB / 0.6641 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1791/0.593, allocations: 171.1 MB / 0.8312 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006719/0.5998, allocations: 4.3 MB / 0.8354 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.6009, allocations: 19.88 kB / 0.8354 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.6022, allocations: 361.9 kB / 0.8357 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.6054, allocations: 1.209 MB / 0.8369 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.6076, allocations: 0.7889 MB / 0.8377 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.6098, allocations: 1.699 MB / 0.8394 GB, free: 13.53 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007903/0.6106, allocations: 0.566 MB / 0.8399 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.6118, allocations: 0.7043 MB / 0.8406 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.6131, allocations: 0.5464 MB / 0.8411 GB, free: 11.71 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.6132, allocations: 68 kB / 0.8412 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.6147, allocations: 0.7951 MB / 0.842 GB, free: 10.84 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.615, allocations: 267.3 kB / 0.8422 GB, free: 10.58 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.6154, allocations: 414.2 kB / 0.8426 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.6171, allocations: 1.262 MB / 0.8439 GB, free: 8.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6171, allocations: 4 kB / 0.8439 GB, free: 8.906 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6171, allocations: 0 / 0.8439 GB, free: 8.906 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.6172, allocations: 0 / 0.8439 GB, free: 8.906 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.001833/0.619, allocations: 1.036 MB / 0.8449 GB, free: 7.816 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.619, allocations: 8.031 kB / 0.8449 GB, free: 7.809 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.6192, allocations: 98.52 kB / 0.845 GB, free: 7.703 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009545/0.6201, allocations: 163 kB / 0.8451 GB, free: 7.543 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008654/0.621, allocations: 0.5482 MB / 0.8457 GB, free: 6.957 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.621, allocations: 45.3 kB / 0.8457 GB, free: 6.914 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.6211, allocations: 48 kB / 0.8458 GB, free: 6.867 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.6222, allocations: 0.6479 MB / 0.8464 GB, free: 6.203 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.6222, allocations: 3.938 kB / 0.8464 GB, free: 6.199 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.6223, allocations: 28 kB / 0.8464 GB, free: 6.172 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.6223, allocations: 21.31 kB / 0.8464 GB, free: 6.148 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000891/0.6232, allocations: 0.5087 MB / 0.8469 GB, free: 5.641 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.003251/0.6264, allocations: 2.293 MB / 0.8492 GB, free: 3.18 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.627, allocations: 258.8 kB / 0.8494 GB, free: 2.918 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.6272, allocations: 140.8 kB / 0.8496 GB, free: 2.777 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.6273, allocations: 3.984 kB / 0.8496 GB, free: 2.773 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.6273, allocations: 38.56 kB / 0.8496 GB, free: 2.727 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 2.104e-06/0.6273, allocations: 0 / 0.8496 GB, free: 2.727 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001676/0.629, allocations: 0.6635 MB / 0.8502 GB, free: 2.016 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.6291, allocations: 85.05 kB / 0.8503 GB, free: 1.914 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.6297, allocations: 0.5574 MB / 0.8509 GB, free: 1.344 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.6297, allocations: 33.7 kB / 0.8509 GB, free: 1.305 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.63, allocations: 331.4 kB / 0.8512 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.6301, allocations: 78.98 kB / 0.8513 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.6302, allocations: 69.94 kB / 0.8514 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6303, allocations: 362.7 kB / 0.8517 GB, free: 472 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.6306, allocations: 132.5 kB / 0.8518 GB, free: 340 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.6309, allocations: 223.5 kB / 0.852 GB, free: 80 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.6315, allocations: 337.6 kB / 0.8524 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6315, allocations: 0 / 0.8524 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008887/0.6324, allocations: 0.4944 MB / 0.8528 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6324, allocations: 8 kB / 0.8529 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.6324, allocations: 3.938 kB / 0.8529 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.6327, allocations: 97.92 kB / 0.853 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.6331, allocations: 67.91 kB / 0.853 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.636, allocations: 3.343 MB / 0.8563 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.6365, allocations: 52.2 kB / 0.8563 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.6366, allocations: 16.06 kB / 0.8563 GB, free: 11.35 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.0002826/0.6369, allocations: 214.4 kB / 0.8565 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.637, allocations: 59.28 kB / 0.8566 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.6371, allocations: 56.5 kB / 0.8567 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6371, allocations: 4 kB / 0.8567 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6371, allocations: 0 / 0.8567 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007018/0.6378, allocations: 0.5306 MB / 0.8572 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.6391, allocations: 0.9166 MB / 0.8581 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6391, allocations: 4 kB / 0.8581 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.6393, allocations: 47.97 kB / 0.8581 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.6396, allocations: 60.81 kB / 0.8582 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.6396, allocations: 8 kB / 0.8582 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.6412, allocations: 1.813 MB / 0.86 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6413, allocations: 4.031 kB / 0.86 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/0.6419, allocations: 444 kB / 0.8604 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.6422, allocations: 172.4 kB / 0.8606 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.6423, allocations: 0 / 0.8606 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.6427, allocations: 25.3 kB / 0.8606 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.6428, allocations: 27.95 kB / 0.8606 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.6429, allocations: 15.94 kB / 0.8606 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004492/0.6433, allocations: 398.8 kB / 0.861 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6433, allocations: 0 / 0.861 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006621/0.644, allocations: 203.7 kB / 0.8612 GB, free: 6.047 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.001168/0.6452, allocations: 1.046 MB / 0.8622 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.6462, allocations: 0.5205 MB / 0.8627 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6462, allocations: 0 / 0.8627 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.6466, allocations: 262.5 kB / 0.863 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.6484, allocations: 364.4 kB / 0.8633 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3196/0.968, allocations: 4.448 MB / 0.8677 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.9685, allocations: 0.906 MB / 0.8686 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000531/0.969, allocations: 111.4 kB / 0.8687 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.9693, allocations: 192.3 kB / 0.8688 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of SimCode: time 8.71e-07/0.9693, allocations: 0 / 0.8688 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04985/1.019, allocations: 18.1 MB / 0.8865 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.24, allocations: 9.344 kB / 0.8865 GB, free: 183.2 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 & /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)