Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.TestDynamicWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger",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.7877/0.7877, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.625e-05/1.618e-05, allocations: 4 kB / 204.9 MB, free: 9.98 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 31.98 MB / 236.8 MB, free: 5.16 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.TestDynamicWaterWaterExchanger): time 1.525/1.667, allocations: 296.2 MB / 0.5205 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02826/1.696, allocations: 25.71 MB / 0.5456 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/1.696, allocations: 7.938 kB / 0.5456 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/1.696, allocations: 151.1 kB / 0.5458 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005399/1.697, allocations: 334.1 kB / 0.5461 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01295/1.71, allocations: 5.324 MB / 0.5513 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002683/1.713, allocations: 2.681 MB / 0.5539 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000769/1.713, allocations: 0.6083 MB / 0.5545 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009385/1.714, allocations: 0.7513 MB / 0.5553 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009818/1.715, allocations: 0.849 MB / 0.5561 GB, free: 7.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/1.715, allocations: 60 kB / 0.5561 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02201/1.737, allocations: 15.22 MB / 0.571 GB, free: 8.008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005288/1.738, allocations: 414.7 kB / 0.5714 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008923/1.739, allocations: 0.7131 MB / 0.5721 GB, free: 6.879 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/1.751, allocations: 7.818 MB / 0.5797 GB, free: 15.04 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/1.751, allocations: 0 / 0.5797 GB, free: 15.04 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/1.751, allocations: 0 / 0.5797 GB, free: 15.04 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/1.751, allocations: 0 / 0.5797 GB, free: 15.04 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.006349/1.757, allocations: 2.05 MB / 0.5817 GB, free: 12.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.757, allocations: 8.031 kB / 0.5817 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/1.758, allocations: 216.8 kB / 0.5819 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/1.758, allocations: 131.2 kB / 0.5821 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/1.759, allocations: 0.573 MB / 0.5826 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/1.759, allocations: 94 kB / 0.5827 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/1.759, allocations: 115.9 kB / 0.5828 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/1.762, allocations: 1.967 MB / 0.5847 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/1.762, allocations: 0 / 0.5847 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/1.762, allocations: 44 kB / 0.5848 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/1.762, allocations: 67.94 kB / 0.5849 GB, free: 9.613 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/1.765, allocations: 1.91 MB / 0.5867 GB, free: 7.699 MB / 478.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.0773/1.842, allocations: 39.81 MB / 0.6256 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/1.845, allocations: 1.707 MB / 0.6273 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/1.846, allocations: 1.197 MB / 0.6284 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07308/1.92, allocations: 33.94 MB / 0.6616 GB, free: 3.859 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/1.92, allocations: 47.88 kB / 0.6616 GB, free: 3.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.226e-06/1.92, allocations: 0 / 0.6616 GB, free: 3.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.03035/1.95, allocations: 7.244 MB / 0.6687 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/1.95, allocations: 64.72 kB / 0.6688 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/1.951, allocations: 361.4 kB / 0.6691 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.951, allocations: 49.7 kB / 0.6691 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/1.951, allocations: 279.7 kB / 0.6694 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007593/1.952, allocations: 0.9543 MB / 0.6703 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/1.952, allocations: 178.7 kB / 0.6705 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.952, allocations: 330 kB / 0.6708 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/1.954, allocations: 1.023 MB / 0.6718 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/1.956, allocations: 1.212 MB / 0.673 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/1.96, allocations: 2.464 MB / 0.6754 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.96, allocations: 0 / 0.6754 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006486/1.966, allocations: 3.741 MB / 0.6791 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.966, allocations: 9.094 kB / 0.6791 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.966, allocations: 0 / 0.6791 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0166/1.983, allocations: 4.848 MB / 0.6838 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/1.983, allocations: 31.92 kB / 0.6838 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008913/1.992, allocations: 4.889 MB / 0.6886 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.993, allocations: 189.7 kB / 0.6888 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.994, allocations: 63.94 kB / 0.6889 GB, free: 7.562 MB / 0.5762 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 (puitsP1.C.a,puitsP.C.a,sourceP1.C.b,sourceP.C.b,echangeurAPlaques1D.Sc.b,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(22,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0006876/1.994, allocations: 371.3 kB / 0.6892 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/1.994, allocations: 98.59 kB / 0.6893 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1691/2.164, allocations: 10.92 MB / 0.7 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006227/2.17, allocations: 4.02 MB / 0.7039 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/2.17, allocations: 5.281 kB / 0.7039 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/2.17, allocations: 19.27 kB / 0.7039 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/2.184, allocations: 8.243 MB / 0.712 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/2.184, allocations: 2.094 kB / 0.712 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/2.186, allocations: 355.8 kB / 0.7123 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006551/2.192, allocations: 2.981 MB / 0.7152 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/2.192, allocations: 68.78 kB / 0.7153 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006236/2.199, allocations: 6.659 MB / 0.7218 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/2.199, allocations: 0.625 kB / 0.7218 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/2.21, allocations: 6.19 MB / 0.7278 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/2.21, allocations: 335.1 kB / 0.7282 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/2.21, allocations: 51.62 kB / 0.7282 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/2.212, allocations: 89.78 kB / 0.7283 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/2.212, allocations: 169 kB / 0.7285 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/2.212, allocations: 86.91 kB / 0.7285 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003873/2.212, allocations: 394.1 kB / 0.7289 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/2.212, allocations: 3.906 kB / 0.7289 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002891/2.215, allocations: 1.35 MB / 0.7302 GB, free: 220.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (echangeurAPlaques1D.Hmc[1],echangeurAPlaques1D.Hmc[2],echangeurAPlaques1D.Hmc[3],echangeurAPlaques1D.Hmc[4],echangeurAPlaques1D.Hmc[5],echangeurAPlaques1D.Hmf[1],echangeurAPlaques1D.Hmf[2],echangeurAPlaques1D.Hmf[3],echangeurAPlaques1D.Hmf[4],echangeurAPlaques1D.Hmf[5]) * 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 (188): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,35), (5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01467/2.23, allocations: 7.886 MB / 0.7379 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006037/2.236, allocations: 3.959 MB / 0.7418 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/2.236, allocations: 0 / 0.7418 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003514/2.24, allocations: 2.163 MB / 0.7439 GB, free: 208.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/2.244, allocations: 0.8553 MB / 0.7448 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/2.268, allocations: 18.59 MB / 0.7629 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/2.269, allocations: 1.535 MB / 0.7644 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008885/2.27, allocations: 313.3 kB / 0.7647 GB, free: 187.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006137/2.271, allocations: 0.6906 MB / 0.7654 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/2.271, allocations: 3.938 kB / 0.7654 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/2.379, allocations: 98.87 MB / 0.8619 GB, free: 89.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/2.379, allocations: 251.8 kB / 0.8622 GB, free: 89.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.364/7.743, allocations: 0 / 0.8622 GB, free: 89.06 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1)