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.8423/0.8423, allocations: 150.9 MB / 166.4 MB, free: 14.2 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 19.97 kB / 204.6 MB, free: 9.52 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 31.32 MB / 236 MB, free: 5.676 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.54/1.677, allocations: 296.4 MB / 0.5199 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02595/1.703, allocations: 23.08 MB / 0.5424 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/1.704, allocations: 4 kB / 0.5424 GB, free: 4.879 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:117:3-118:48:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:119:3-120:48:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:121:3-122:46:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:123:3-124:46:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005121/1.704, allocations: 199.3 kB / 0.5426 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006122/1.705, allocations: 361.9 kB / 0.543 GB, free: 4.332 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01626/1.721, allocations: 7.282 MB / 0.5501 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002311/1.723, allocations: 2.549 MB / 0.5526 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/1.724, allocations: 0.6745 MB / 0.5532 GB, free: 9.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008428/1.725, allocations: 0.8766 MB / 0.5541 GB, free: 8.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009797/1.726, allocations: 0.8607 MB / 0.5549 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/1.726, allocations: 120 kB / 0.5551 GB, free: 8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02272/1.749, allocations: 15.22 MB / 0.5699 GB, free: 8.758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005705/1.749, allocations: 486.6 kB / 0.5704 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009707/1.75, allocations: 0.7505 MB / 0.5711 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/1.763, allocations: 7.901 MB / 0.5788 GB, free: 15.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.763, allocations: 0 / 0.5788 GB, free: 15.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/1.763, allocations: 0 / 0.5788 GB, free: 15.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/1.763, allocations: 0 / 0.5788 GB, free: 15.61 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.006892/1.77, allocations: 2.3 MB / 0.5811 GB, free: 13.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.77, allocations: 16.02 kB / 0.5811 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002392/1.771, allocations: 212.8 kB / 0.5813 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/1.771, allocations: 135.2 kB / 0.5814 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000867/1.772, allocations: 0.573 MB / 0.582 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/1.772, allocations: 98 kB / 0.5821 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/1.772, allocations: 100 kB / 0.5822 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/1.775, allocations: 1.966 MB / 0.5841 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/1.775, allocations: 7.938 kB / 0.5841 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/1.775, allocations: 40 kB / 0.5841 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/1.775, allocations: 71.88 kB / 0.5842 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003413/1.779, allocations: 1.91 MB / 0.5861 GB, free: 8.016 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.08319/1.862, allocations: 39.54 MB / 0.6247 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/1.865, allocations: 1.706 MB / 0.6264 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/1.867, allocations: 1.201 MB / 0.6275 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07775/1.945, allocations: 33.61 MB / 0.6603 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/1.945, allocations: 51.88 kB / 0.6604 GB, free: 4.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.677e-06/1.945, allocations: 0 / 0.6604 GB, free: 4.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.03208/1.977, allocations: 7.307 MB / 0.6675 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/1.977, allocations: 68.72 kB / 0.6676 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/1.977, allocations: 357.5 kB / 0.6679 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/1.977, allocations: 49.7 kB / 0.668 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/1.978, allocations: 279.7 kB / 0.6683 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006983/1.978, allocations: 0.9465 MB / 0.6692 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005327/1.979, allocations: 343.8 kB / 0.6695 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/1.979, allocations: 329.9 kB / 0.6698 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.981, allocations: 1.026 MB / 0.6708 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/1.983, allocations: 1.208 MB / 0.672 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/1.987, allocations: 2.456 MB / 0.6744 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.987, allocations: 0 / 0.6744 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006753/1.994, allocations: 3.749 MB / 0.6781 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.994, allocations: 9.5 kB / 0.6781 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.994, allocations: 4 kB / 0.6781 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01724/2.011, allocations: 4.84 MB / 0.6828 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/2.011, allocations: 31.92 kB / 0.6828 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/2.02, allocations: 4.892 MB / 0.6876 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/2.021, allocations: 189.7 kB / 0.6878 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/2.021, allocations: 63.94 kB / 0.6879 GB, free: 8.246 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.0005812/2.022, allocations: 362.3 kB / 0.6882 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/2.022, allocations: 106.6 kB / 0.6883 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1628/2.185, allocations: 10.92 MB / 0.699 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006613/2.192, allocations: 4.019 MB / 0.7029 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/2.192, allocations: 9.25 kB / 0.7029 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/2.192, allocations: 17.94 kB / 0.7029 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/2.208, allocations: 8.258 MB / 0.711 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/2.208, allocations: 0 / 0.711 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/2.209, allocations: 351.8 kB / 0.7113 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004568/2.214, allocations: 1.922 MB / 0.7132 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/2.214, allocations: 68.55 kB / 0.7133 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006493/2.22, allocations: 6.91 MB / 0.72 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.221, allocations: 0.5 kB / 0.72 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/2.232, allocations: 6.202 MB / 0.7261 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/2.233, allocations: 261.9 kB / 0.7263 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/2.233, allocations: 71.19 kB / 0.7264 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/2.234, allocations: 74.38 kB / 0.7265 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/2.234, allocations: 175.6 kB / 0.7266 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/2.234, allocations: 79.59 kB / 0.7267 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003767/2.235, allocations: 396.2 kB / 0.7271 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/2.235, allocations: 0 / 0.7271 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002738/2.238, allocations: 1.349 MB / 0.7284 GB, free: 218.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.0155/2.253, allocations: 7.898 MB / 0.7361 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01341/2.267, allocations: 6.536 MB / 0.7425 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/2.267, allocations: 0 / 0.7425 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004332/2.271, allocations: 2.17 MB / 0.7446 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/2.275, allocations: 0.8992 MB / 0.7455 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/2.301, allocations: 17.67 MB / 0.7627 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/2.302, allocations: 1.539 MB / 0.7642 GB, free: 185.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009427/2.303, allocations: 311.2 kB / 0.7645 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/2.304, allocations: 0.6945 MB / 0.7652 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/2.304, allocations: 0 / 0.7652 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/2.424, allocations: 102.2 MB / 0.865 GB, free: 83.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/17.36, allocations: 3.984 kB / 0.865 GB, free: 83.83 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)