Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",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.798/0.798, allocations: 150.8 MB / 166.1 MB, free: 15.16 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.545e-05, allocations: 4 kB / 204.9 MB, free: 9.59 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 31.99 MB / 236.8 MB, free: 5.035 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.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 1.522/1.66, allocations: 296.1 MB / 0.5205 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02999/1.69, allocations: 25.59 MB / 0.5455 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/1.69, allocations: 7.938 kB / 0.5455 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/1.69, allocations: 135.2 kB / 0.5456 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/1.691, allocations: 226.3 kB / 0.5458 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01331/1.704, allocations: 5.262 MB / 0.5509 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/1.705, allocations: 0.9217 MB / 0.5518 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/1.705, allocations: 251.5 kB / 0.5521 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/1.706, allocations: 326.4 kB / 0.5524 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/1.706, allocations: 290.5 kB / 0.5527 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/1.706, allocations: 24 kB / 0.5527 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02265/1.729, allocations: 15.18 MB / 0.5675 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/1.729, allocations: 91.53 kB / 0.5676 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004717/1.729, allocations: 359.9 kB / 0.568 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01384/1.743, allocations: 6.883 MB / 0.5747 GB, free: 4.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.743, allocations: 0 / 0.5747 GB, free: 4.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.743, allocations: 4 kB / 0.5747 GB, free: 4.309 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/1.743, allocations: 0 / 0.5747 GB, free: 4.309 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004124/1.747, allocations: 1.435 MB / 0.5761 GB, free: 2.824 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.748, allocations: 8.031 kB / 0.5761 GB, free: 2.816 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/1.748, allocations: 119.3 kB / 0.5762 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/1.748, allocations: 72 kB / 0.5763 GB, free: 2.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/1.748, allocations: 337.7 kB / 0.5766 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/1.748, allocations: 134.1 kB / 0.5767 GB, free: 2.105 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/1.748, allocations: 44 kB / 0.5768 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/1.75, allocations: 0.7914 MB / 0.5775 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.75, allocations: 3.938 kB / 0.5775 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/1.75, allocations: 20 kB / 0.5776 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/1.75, allocations: 35.97 kB / 0.5776 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/1.751, allocations: 0.5826 MB / 0.5782 GB, free: 0.5859 MB / 462.1 MB 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.07447/1.825, allocations: 36.68 MB / 0.614 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/1.827, allocations: 0.5507 MB / 0.6145 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/1.827, allocations: 362.8 kB / 0.6149 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07476/1.902, allocations: 33.92 MB / 0.648 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/1.902, allocations: 34.56 kB / 0.648 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.405e-06/1.902, allocations: 0 / 0.648 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01806/1.92, allocations: 3.488 MB / 0.6514 GB, free: 14.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/1.92, allocations: 59.41 kB / 0.6515 GB, free: 14.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/1.921, allocations: 336.4 kB / 0.6518 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/1.921, allocations: 33.7 kB / 0.6518 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/1.921, allocations: 221.3 kB / 0.652 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/1.921, allocations: 413.6 kB / 0.6524 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.921, allocations: 81.66 kB / 0.6525 GB, free: 13.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.922, allocations: 374.8 kB / 0.6529 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/1.922, allocations: 281.6 kB / 0.6531 GB, free: 12.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/1.923, allocations: 397.2 kB / 0.6535 GB, free: 12.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.924, allocations: 0.7225 MB / 0.6542 GB, free: 11.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/1.924, allocations: 7.938 kB / 0.6542 GB, free: 11.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004368/1.928, allocations: 1.302 MB / 0.6555 GB, free: 10.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.929, allocations: 8 kB / 0.6555 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.929, allocations: 3.938 kB / 0.6555 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003786/1.932, allocations: 1.387 MB / 0.6569 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/1.932, allocations: 23.98 kB / 0.6569 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/1.935, allocations: 1.405 MB / 0.6583 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/1.935, allocations: 86.95 kB / 0.6584 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/1.935, allocations: 27.98 kB / 0.6584 GB, free: 7.203 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002459/1.935, allocations: 179.8 kB / 0.6586 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/1.936, allocations: 55.25 kB / 0.6586 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/1.94, allocations: 3.959 MB / 0.6625 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002811/1.943, allocations: 1.341 MB / 0.6638 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.943, allocations: 0 / 0.6638 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/1.943, allocations: 7.922 kB / 0.6638 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006789/1.949, allocations: 2.931 MB / 0.6666 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.949, allocations: 4 kB / 0.6667 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/1.95, allocations: 95.83 kB / 0.6667 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003676/1.953, allocations: 1.438 MB / 0.6681 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/1.954, allocations: 23.98 kB / 0.6682 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.956, allocations: 1.491 MB / 0.6696 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.956, allocations: 7.984 kB / 0.6696 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00472/1.96, allocations: 1.51 MB / 0.6711 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/1.961, allocations: 219.6 kB / 0.6713 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.961, allocations: 19.94 kB / 0.6713 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/1.961, allocations: 39.83 kB / 0.6714 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.961, allocations: 52.91 kB / 0.6714 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/1.961, allocations: 24 kB / 0.6714 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004373/1.962, allocations: 387.1 kB / 0.6718 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.962, allocations: 0 / 0.6718 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002537/1.964, allocations: 1.042 MB / 0.6728 GB, free: 8.09 MB / 0.5606 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 (62): * Single equations (assignments): 61 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009378/1.974, allocations: 3.161 MB / 0.6759 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00215/1.976, allocations: 1.151 MB / 0.677 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.976, allocations: 4.062 kB / 0.6771 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/1.977, allocations: 0.5155 MB / 0.6776 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/1.979, allocations: 421 kB / 0.678 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.991, allocations: 6.999 MB / 0.6848 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/1.992, allocations: 0.9986 MB / 0.6858 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003156/1.992, allocations: 68.81 kB / 0.6858 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/1.993, allocations: 299.3 kB / 0.6861 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/1.993, allocations: 4 kB / 0.6861 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2301/2.223, allocations: 57.19 MB / 0.742 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/2.223, allocations: 246 kB / 0.7422 GB, free: 201.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.168/6.391, allocations: 3.516 kB / 0.7422 GB, free: 201.6 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1)