Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.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.TestDiffusion_VolumeA,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_VolumeA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_VolumeA",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.9548/0.9548, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.573e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2654, allocations: 31.98 MB / 236.8 MB, free: 5.18 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.TestDiffusion_VolumeA): time 1.991/2.257, allocations: 296 MB / 0.5204 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.777/3.034, allocations: 188.4 MB / 0.7044 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008621/3.035, allocations: 15.22 kB / 0.7044 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002414/3.035, allocations: 62.19 kB / 0.7045 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007673/3.036, allocations: 216.2 kB / 0.7047 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03727/3.073, allocations: 9.487 MB / 0.714 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001583/3.075, allocations: 0.9423 MB / 0.7149 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/3.075, allocations: 413.8 kB / 0.7153 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/3.076, allocations: 319.5 kB / 0.7156 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/3.076, allocations: 362.5 kB / 0.7159 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.423e-05/3.076, allocations: 45.19 kB / 0.716 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04308/3.119, allocations: 20.24 MB / 0.7357 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/3.12, allocations: 143.4 kB / 0.7359 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006836/3.12, allocations: 410.8 kB / 0.7363 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0324/3.153, allocations: 10.37 MB / 0.7464 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/3.153, allocations: 1.859 kB / 0.7464 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.375e-06/3.153, allocations: 2.906 kB / 0.7464 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.016e-05/3.153, allocations: 0 / 0.7464 GB, free: 15.27 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.007019/3.16, allocations: 2.115 MB / 0.7485 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/3.16, allocations: 8.625 kB / 0.7485 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/3.16, allocations: 142.6 kB / 0.7486 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/3.16, allocations: 102.8 kB / 0.7487 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/3.161, allocations: 458.2 kB / 0.7492 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/3.161, allocations: 122.3 kB / 0.7493 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.28e-05/3.161, allocations: 86.98 kB / 0.7494 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/3.162, allocations: 0.8843 MB / 0.7502 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/3.162, allocations: 0 / 0.7502 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/3.162, allocations: 33.81 kB / 0.7503 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/3.162, allocations: 21.28 kB / 0.7503 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/3.163, allocations: 0.675 MB / 0.7509 GB, free: 12.99 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.01082/3.174, allocations: 8.354 MB / 0.7591 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/3.175, allocations: 219.2 kB / 0.7593 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/3.175, allocations: 79.19 kB / 0.7594 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3936/3.568, allocations: 186.4 MB / 0.9414 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/3.569, allocations: 37.06 kB / 0.9414 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/3.569, allocations: 0 / 0.9414 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.002662/3.571, allocations: 0.7474 MB / 0.9422 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/3.571, allocations: 109.7 kB / 0.9423 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008406/3.572, allocations: 0.5845 MB / 0.9429 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/3.572, allocations: 29.7 kB / 0.9429 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/3.572, allocations: 474.1 kB / 0.9433 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.395e-05/3.573, allocations: 78 kB / 0.9434 GB, free: 460 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/3.573, allocations: 83.16 kB / 0.9435 GB, free: 400 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001434/3.573, allocations: 364.9 kB / 0.9438 GB, free: 48 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/3.573, allocations: 135.9 kB / 0.944 GB, free: 15.96 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/3.574, allocations: 0.5021 MB / 0.9445 GB, free: 15.35 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008024/3.574, allocations: 0.7728 MB / 0.9452 GB, free: 14.55 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/3.574, allocations: 1.969 kB / 0.9452 GB, free: 14.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001798/3.576, allocations: 0.9139 MB / 0.9461 GB, free: 13.88 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/3.576, allocations: 63.41 kB / 0.9462 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/3.576, allocations: 16 kB / 0.9462 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/3.577, allocations: 193 kB / 0.9464 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/3.577, allocations: 122.4 kB / 0.9465 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007258/3.578, allocations: 0.76 MB / 0.9472 GB, free: 12.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/3.579, allocations: 109 kB / 0.9473 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/3.579, allocations: 41.06 kB / 0.9474 GB, free: 12.7 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 22 (volumeA.Cs1.ftype,volumeA.Cs2.ftype,volumeA.Cs2.diff_on_2,volumeA.Ce2.ftype,volumeA.Ce2.diff_on_1,sourcePQ1.C.ftype,volumeA.fluids[1],switchValve.C2.diff_on_1,volumeA.Cs1.diff_on_2,sink1.fluid,switchValve.fluid,switchValve1.fluid,constante1.yL.signal,constante.yL.signal,volumeA.fluid1,sourcePQ1.fluid1,volumeA.Cs1.diff_on_1,switchValve1.C2.diff_on_1,volumeA.Cs2.diff_on_1,volumeA.Ce2.diff_on_2,volumeA.Ce1.diff_on_2,sourcePQ1.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * 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 {(4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003347/3.579, allocations: 283.1 kB / 0.9476 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/3.579, allocations: 63.25 kB / 0.9477 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/3.58, allocations: 0.5019 MB / 0.9482 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/3.58, allocations: 0 / 0.9482 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/3.58, allocations: 4 kB / 0.9482 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/3.58, allocations: 1.859 kB / 0.9482 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/3.581, allocations: 0.5284 MB / 0.9487 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/3.581, allocations: 4 kB / 0.9487 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/3.581, allocations: 8 kB / 0.9487 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/3.582, allocations: 179.7 kB / 0.9489 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/3.582, allocations: 7.172 kB / 0.9489 GB, free: 11.37 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006415/3.582, allocations: 0.7382 MB / 0.9496 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/3.582, allocations: 3.938 kB / 0.9496 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/3.583, allocations: 0.5616 MB / 0.9502 GB, free: 10.19 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/3.584, allocations: 158.4 kB / 0.9503 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/3.584, allocations: 7.125 kB / 0.9503 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/3.584, allocations: 6.875 kB / 0.9503 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/3.584, allocations: 13.8 kB / 0.9504 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/3.584, allocations: 13.23 kB / 0.9504 GB, free: 10 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004654/3.584, allocations: 374.2 kB / 0.9507 GB, free: 9.723 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.51e-07/3.584, allocations: 0 / 0.9507 GB, free: 9.723 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004897/3.589, allocations: 1.549 MB / 0.9522 GB, free: 8.277 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (constante.yL.signal,constante1.yL.signal) * Number of discrete states: 2 (constante.yL.signal,constante1.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 2 * 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 {(4,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009936/3.599, allocations: 3.162 MB / 0.9553 GB, free: 5.473 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001308/3.601, allocations: 0.5016 MB / 0.9558 GB, free: 5.074 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/3.601, allocations: 2.609 kB / 0.9558 GB, free: 5.074 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004355/3.601, allocations: 230.2 kB / 0.956 GB, free: 4.855 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/3.602, allocations: 119.8 kB / 0.9561 GB, free: 4.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/3.616, allocations: 6.148 MB / 0.9621 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/3.617, allocations: 0.8857 MB / 0.963 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000427/3.617, allocations: 92.94 kB / 0.9631 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/3.617, allocations: 236.1 kB / 0.9633 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of SimCode: time 1.593e-06/3.617, allocations: 0 / 0.9633 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3496/3.967, allocations: 55.7 MB / 1.018 GB, free: 440.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/3.967, allocations: 296.1 kB / 1.018 GB, free: 440.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.263/8.231, allocations: 0 / 1.018 GB, free: 440.5 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_VolumeA_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_VolumeA.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe 2>&1)