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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5761/0.5761, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 216.7 MB, free: 8.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/2.009e-05, allocations: 4.391 kB / 216.7 MB, free: 8.605 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.001/1.001, allocations: 255.7 MB / 472.4 MB, free: 7.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02051/1.022, allocations: 20.78 MB / 493.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/1.022, allocations: 4 kB / 493.2 MB, free: 2.641 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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.0005977/1.023, allocations: 194.7 kB / 493.4 MB, free: 2.449 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007596/1.023, allocations: 445.2 kB / 493.8 MB, free: 2.012 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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.2621/1.286, allocations: 7.319 MB / 0.4894 GB, free: 1.941 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002199/1.288, allocations: 2.614 MB / 0.4919 GB, free: 1.555 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006865/1.288, allocations: 0.599 MB / 0.4925 GB, free: 1.516 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/1.29, allocations: 1.257 MB / 0.4938 GB, free: 1.434 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000867/1.291, allocations: 0.782 MB / 0.4945 GB, free: 1.387 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/1.291, allocations: 119.6 kB / 0.4946 GB, free: 1.387 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01961/1.31, allocations: 14.54 MB / 0.5088 GB, free: 9.535 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000571/1.311, allocations: 0.4911 MB / 0.5093 GB, free: 9.074 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009376/1.312, allocations: 0.5415 MB / 0.5098 GB, free: 8.566 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01526/1.327, allocations: 10.07 MB / 0.5197 GB, free: 14.85 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.327, allocations: 0 / 0.5197 GB, free: 14.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.327, allocations: 0.625 kB / 0.5197 GB, free: 14.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.893e-05/1.327, allocations: 0.5938 kB / 0.5197 GB, free: 14.85 MB / 474.7 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.005674/1.333, allocations: 2.26 MB / 0.5219 GB, free: 12.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.333, allocations: 12.03 kB / 0.5219 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/1.333, allocations: 218.5 kB / 0.5221 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/1.333, allocations: 140 kB / 0.5222 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/1.334, allocations: 0.5152 MB / 0.5227 GB, free: 11.69 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/1.334, allocations: 94.94 kB / 0.5228 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.334, allocations: 104.6 kB / 0.5229 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/1.336, allocations: 1.978 MB / 0.5249 GB, free: 9.457 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.336, allocations: 0 / 0.5249 GB, free: 9.457 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/1.336, allocations: 40 kB / 0.5249 GB, free: 9.418 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/1.336, allocations: 77.55 kB / 0.525 GB, free: 9.344 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/1.339, allocations: 1.91 MB / 0.5268 GB, free: 7.445 MB / 474.7 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.03943/1.378, allocations: 24.29 MB / 0.5506 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/1.38, allocations: 1.51 MB / 0.552 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/1.381, allocations: 1.045 MB / 0.5531 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03623/1.417, allocations: 21.21 MB / 0.5738 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/1.417, allocations: 45.56 kB / 0.5738 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=292): time 3.577e-06/1.417, allocations: 0 / 0.5738 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of matching and sorting (n=292): time 0.01604/1.433, allocations: 6.939 MB / 0.5806 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.433, allocations: 64.72 kB / 0.5806 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/1.434, allocations: 357.5 kB / 0.581 GB, free: 152 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.573e-05/1.434, allocations: 53.69 kB / 0.581 GB, free: 92 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/1.434, allocations: 282.8 kB / 0.5813 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005191/1.435, allocations: 0.991 MB / 0.5823 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/1.435, allocations: 341.2 kB / 0.5826 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/1.435, allocations: 329.9 kB / 0.5829 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.436, allocations: 1.033 MB / 0.5839 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.438, allocations: 1.212 MB / 0.5851 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/1.44, allocations: 2.469 MB / 0.5875 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.44, allocations: 0 / 0.5875 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004366/1.445, allocations: 3.612 MB / 0.591 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.445, allocations: 4.844 kB / 0.5911 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.445, allocations: 4 kB / 0.5911 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008497/1.453, allocations: 4.817 MB / 0.5958 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.838e-05/1.453, allocations: 38.55 kB / 0.5958 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/1.459, allocations: 4.9 MB / 0.6006 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/1.46, allocations: 194.4 kB / 0.6008 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/1.46, allocations: 60.14 kB / 0.6008 GB, free: 11.71 MB / 0.5417 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.0004974/1.46, allocations: 374 kB / 0.6012 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/1.46, allocations: 104.2 kB / 0.6013 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008664/1.469, allocations: 10.81 MB / 0.6118 GB, free: 248 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004102/1.473, allocations: 3.959 MB / 0.6157 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.473, allocations: 4 kB / 0.6157 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.473, allocations: 11.95 kB / 0.6157 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009444/1.483, allocations: 7.596 MB / 0.6231 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.483, allocations: 0 / 0.6231 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/1.483, allocations: 357.2 kB / 0.6235 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00246/1.486, allocations: 1.932 MB / 0.6254 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/1.486, allocations: 71.94 kB / 0.6254 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005246/1.491, allocations: 6.716 MB / 0.632 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.491, allocations: 0 / 0.632 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00758/1.499, allocations: 6.18 MB / 0.638 GB, free: 5.148 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/1.499, allocations: 198.1 kB / 0.6382 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/1.499, allocations: 71.77 kB / 0.6383 GB, free: 4.883 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/1.5, allocations: 63.97 kB / 0.6383 GB, free: 4.82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/1.5, allocations: 185.8 kB / 0.6385 GB, free: 4.637 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/1.5, allocations: 83.94 kB / 0.6386 GB, free: 4.555 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003352/1.5, allocations: 395.1 kB / 0.639 GB, free: 4.168 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.1e-08/1.5, allocations: 0 / 0.639 GB, free: 4.168 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003075/1.503, allocations: 1.369 MB / 0.6403 GB, free: 2.797 MB / 0.573 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.0112/1.515, allocations: 8.015 MB / 0.6481 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004589/1.519, allocations: 3.84 MB / 0.6519 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.519, allocations: 1.969 kB / 0.6519 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/1.522, allocations: 2.012 MB / 0.6539 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.524, allocations: 0.8777 MB / 0.6547 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/1.544, allocations: 17.26 MB / 0.6716 GB, free: 2.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/1.545, allocations: 0.9538 MB / 0.6725 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007356/1.545, allocations: 313 kB / 0.6728 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/1.546, allocations: 0.6956 MB / 0.6735 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of SimCode: time 1.343e-06/1.546, allocations: 0 / 0.6735 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2839/1.83, allocations: 99.54 MB / 0.7707 GB, free: 275.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/14.05, allocations: 11.88 kB / 0.7707 GB, free: 275.3 MB / 0.6667 GB " [Timeout remaining time 646] (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 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.989091587252915] Failed to read output from testmodel.py, exit status != 0: 14.426380247808993 14.332738314 13.004156728 Calling exit ...