Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestVolumeA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestVolumeA",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7406/0.7406, allocations: 150.8 MB / 166.1 MB, free: 15.13 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.146e-05, allocations: 4 kB / 204.9 MB, free: 9.59 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 31.98 MB / 236.8 MB, free: 5.484 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA): time 1.383/1.522, allocations: 298.6 MB / 0.5229 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4145/1.937, allocations: 195.5 MB / 0.7138 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/1.937, allocations: 22.44 kB / 0.7138 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002696/1.937, allocations: 156.6 kB / 0.7139 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007377/1.938, allocations: 479.6 kB / 0.7144 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02443/1.963, allocations: 11.33 MB / 0.7255 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001652/1.964, allocations: 1.94 MB / 0.7273 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007392/1.965, allocations: 0.9082 MB / 0.7282 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/1.966, allocations: 0.6395 MB / 0.7289 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000563/1.966, allocations: 0.7672 MB / 0.7296 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/1.966, allocations: 83.88 kB / 0.7297 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03165/1.998, allocations: 22.8 MB / 0.752 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/1.998, allocations: 315.4 kB / 0.7523 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008768/1.999, allocations: 0.7997 MB / 0.753 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02234/2.022, allocations: 12.88 MB / 0.7656 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/2.022, allocations: 3.625 kB / 0.7656 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/2.022, allocations: 0 / 0.7656 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.623e-05/2.022, allocations: 0 / 0.7656 GB, free: 11.86 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.006051/2.028, allocations: 3.025 MB / 0.7686 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/2.028, allocations: 11.19 kB / 0.7686 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002043/2.028, allocations: 227.6 kB / 0.7688 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/2.028, allocations: 202.1 kB / 0.769 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008579/2.029, allocations: 0.7966 MB / 0.7698 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/2.029, allocations: 131.3 kB / 0.7699 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/2.029, allocations: 159.5 kB / 0.77 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/2.032, allocations: 1.649 MB / 0.7717 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/2.032, allocations: 4.719 kB / 0.7717 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/2.032, allocations: 67.59 kB / 0.7717 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/2.032, allocations: 39.34 kB / 0.7718 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/2.034, allocations: 1.464 MB / 0.7732 GB, free: 8.586 MB / 0.5919 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.01893/2.053, allocations: 15.71 MB / 0.7885 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/2.054, allocations: 0.798 MB / 0.7893 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/2.055, allocations: 331.3 kB / 0.7896 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6879/2.743, allocations: 291.1 MB / 1.074 GB, free: 385 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/2.743, allocations: 39.16 kB / 1.074 GB, free: 385 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=77): time 4.719e-06/2.743, allocations: 0 / 1.074 GB, free: 385 MB / 0.8106 GB Notification: Performance of matching and sorting (n=77): time 0.01173/2.755, allocations: 3.259 MB / 1.077 GB, free: 382.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/2.755, allocations: 62.81 kB / 1.077 GB, free: 382.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/2.756, allocations: 0.9661 MB / 1.078 GB, free: 381.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/2.756, allocations: 41.27 kB / 1.078 GB, free: 381.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/2.756, allocations: 0.7387 MB / 1.079 GB, free: 380.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/2.756, allocations: 278.6 kB / 1.079 GB, free: 380.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/2.756, allocations: 124.1 kB / 1.079 GB, free: 380.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.036e-05/2.756, allocations: 352.4 kB / 1.08 GB, free: 380.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/2.757, allocations: 329.7 kB / 1.08 GB, free: 380 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/2.758, allocations: 0.6936 MB / 1.081 GB, free: 379.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/2.759, allocations: 1.076 MB / 1.082 GB, free: 378.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/2.759, allocations: 4 kB / 1.082 GB, free: 378.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002265/2.761, allocations: 1.447 MB / 1.083 GB, free: 377.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/2.761, allocations: 18.8 kB / 1.083 GB, free: 377.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/2.761, allocations: 12 kB / 1.083 GB, free: 377.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008133/2.769, allocations: 1.902 MB / 1.085 GB, free: 375.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/2.77, allocations: 167.5 kB / 1.085 GB, free: 375.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/2.772, allocations: 1.429 MB / 1.086 GB, free: 374.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/2.772, allocations: 157.8 kB / 1.087 GB, free: 374 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/2.773, allocations: 60.11 kB / 1.087 GB, free: 374 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 26 (volumeA.Cs1.ftype,sourceP2.C.ftype,sourceP1.C.ftype,volumeA.Cs2.ftype,volumeA.Cs2.diff_on_2,volumeA.fluids[1],volumeA.Ce1.diff_on_1,controlValve2.C2.diff_on_1,volumeA.Cs1.diff_on_2,sinkP.fluid,lumpedStraightPipe1.fluid,lumpedStraightPipe3.fluid,lumpedStraightPipe2.fluid,controlValve1.fluid,controlValve2.fluid,controlValve3.fluid,sourceP2.fluid1,volumeA.fluid1,sourceP1.fluid1,volumeA.Cs1.diff_on_1,lumpedStraightPipe3.C2.diff_on_1,volumeA.Ce2.diff_on_2,lumpedStraightPipe2.C1.diff_on_2,volumeA.Ce1.diff_on_2,lumpedStraightPipe1.C1.diff_on_2,volumeA.Cs2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {(12,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0004799/2.773, allocations: 322.6 kB / 1.087 GB, free: 373.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/2.773, allocations: 110.6 kB / 1.087 GB, free: 373.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/2.775, allocations: 1.175 MB / 1.088 GB, free: 372.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/2.775, allocations: 15.94 kB / 1.088 GB, free: 372.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/2.775, allocations: 0 / 1.088 GB, free: 372.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/2.775, allocations: 7.922 kB / 1.088 GB, free: 372.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/2.776, allocations: 1.065 MB / 1.089 GB, free: 372 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/2.776, allocations: 0 / 1.089 GB, free: 372 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/2.776, allocations: 43.97 kB / 1.089 GB, free: 372 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006782/2.783, allocations: 1.584 MB / 1.091 GB, free: 370.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/2.783, allocations: 27.67 kB / 1.091 GB, free: 370.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/2.785, allocations: 1.436 MB / 1.092 GB, free: 369.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.785, allocations: 4 kB / 1.092 GB, free: 369.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/2.786, allocations: 1.115 MB / 1.093 GB, free: 368.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/2.787, allocations: 286 kB / 1.094 GB, free: 368.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/2.787, allocations: 19.81 kB / 1.094 GB, free: 368.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/2.787, allocations: 26.73 kB / 1.094 GB, free: 368.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/2.787, allocations: 48.48 kB / 1.094 GB, free: 368.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/2.787, allocations: 34.8 kB / 1.094 GB, free: 368.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005614/2.788, allocations: 0.6089 MB / 1.094 GB, free: 367.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/2.788, allocations: 0 / 1.094 GB, free: 367.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00436/2.792, allocations: 2.104 MB / 1.096 GB, free: 366 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 19 * 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 {(10,54)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008918/2.801, allocations: 4.497 MB / 1.101 GB, free: 362.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00182/2.803, allocations: 1.005 MB / 1.102 GB, free: 361.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/2.803, allocations: 2 kB / 1.102 GB, free: 361.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000944/2.804, allocations: 483.7 kB / 1.102 GB, free: 361.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/2.805, allocations: 246 kB / 1.103 GB, free: 361.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/2.817, allocations: 10.48 MB / 1.113 GB, free: 350.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/2.817, allocations: 1.177 MB / 1.114 GB, free: 349.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004848/2.818, allocations: 153.4 kB / 1.114 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/2.818, allocations: 0.5053 MB / 1.115 GB, free: 348.7 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/2.818, allocations: 0 / 1.115 GB, free: 348.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5749/3.393, allocations: 76.21 MB / 1.189 GB, free: 273.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/3.393, allocations: 279.7 kB / 1.189 GB, free: 273.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.706/8.099, allocations: 0 / 1.189 GB, free: 273.3 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestVolumeA_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestVolumeA.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA.pipe 2>&1)