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.8088/0.8088, allocations: 153.9 MB / 172.7 MB, free: 4.938 MB / 142.1 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 0.0005282/0.0005282, allocations: 15.97 kB / 249.9 MB, free: 4.43 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1647, allocations: 33.36 MB / 283.2 MB, free: 1.816 MB / 222.1 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.754/1.919, allocations: 309.2 MB / 0.5785 GB, free: 16.14 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02328/1.942, allocations: 23.28 MB / 0.6012 GB, free: 5.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/1.943, allocations: 6.094 kB / 0.6012 GB, free: 5.516 MB / 478.1 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.0005334/1.943, allocations: 229.9 kB / 0.6015 GB, free: 5.402 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006853/1.944, allocations: 418.6 kB / 0.6019 GB, free: 5.145 MB / 478.1 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.01723/1.961, allocations: 7.389 MB / 0.6091 GB, free: 1.875 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002381/1.964, allocations: 2.565 MB / 0.6116 GB, free: 348 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007577/1.964, allocations: 0.6018 MB / 0.6122 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/1.966, allocations: 0.8923 MB / 0.613 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/1.967, allocations: 0.8764 MB / 0.6139 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/1.967, allocations: 120.3 kB / 0.614 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02913/1.996, allocations: 15.48 MB / 0.6291 GB, free: 16 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000833/1.997, allocations: 478.7 kB / 0.6296 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/1.998, allocations: 0.7592 MB / 0.6303 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01711/2.016, allocations: 7.926 MB / 0.6381 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/2.016, allocations: 4.719 kB / 0.6381 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/2.016, allocations: 0 / 0.6381 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.033e-05/2.016, allocations: 0.6562 kB / 0.6381 GB, free: 6.832 MB / 0.4981 GB 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.007638/2.023, allocations: 2.296 MB / 0.6403 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/2.023, allocations: 8.719 kB / 0.6403 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002726/2.024, allocations: 216.8 kB / 0.6405 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/2.024, allocations: 141.8 kB / 0.6407 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/2.025, allocations: 0.5166 MB / 0.6412 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/2.025, allocations: 94 kB / 0.6412 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/2.025, allocations: 108.6 kB / 0.6413 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/2.029, allocations: 1.971 MB / 0.6433 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/2.029, allocations: 9.594 kB / 0.6433 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/2.029, allocations: 41.31 kB / 0.6433 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/2.029, allocations: 67.94 kB / 0.6434 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003576/2.032, allocations: 1.913 MB / 0.6453 GB, free: 15.33 MB / 0.5137 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.07656/2.109, allocations: 26.03 MB / 0.6707 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/2.112, allocations: 1.53 MB / 0.6722 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/2.114, allocations: 1.045 MB / 0.6732 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07138/2.185, allocations: 21.13 MB / 0.6938 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.392e-05/2.185, allocations: 51.88 kB / 0.6939 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 3.737e-06/2.185, allocations: 0.5625 kB / 0.6939 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=292): time 0.03252/2.218, allocations: 6.936 MB / 0.7006 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/2.218, allocations: 68.7 kB / 0.7007 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/2.218, allocations: 353.6 kB / 0.701 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/2.219, allocations: 53.7 kB / 0.7011 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/2.219, allocations: 288.3 kB / 0.7014 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000994/2.22, allocations: 0.9998 MB / 0.7023 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000647/2.22, allocations: 339.8 kB / 0.7027 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001527/2.221, allocations: 330 kB / 0.703 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/2.223, allocations: 1.026 MB / 0.704 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/2.225, allocations: 1.224 MB / 0.7052 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004548/2.229, allocations: 2.464 MB / 0.7076 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/2.229, allocations: 0 / 0.7076 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007334/2.237, allocations: 3.62 MB / 0.7111 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/2.237, allocations: 4 kB / 0.7111 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/2.237, allocations: 4.656 kB / 0.7111 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01741/2.254, allocations: 4.82 MB / 0.7158 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/2.254, allocations: 35.92 kB / 0.7159 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/2.264, allocations: 4.905 MB / 0.7207 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/2.266, allocations: 187.4 kB / 0.7208 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/2.266, allocations: 71.94 kB / 0.7209 GB, free: 1.117 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.0007396/2.266, allocations: 365.6 kB / 0.7213 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/2.267, allocations: 107.9 kB / 0.7214 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/2.281, allocations: 10.8 MB / 0.7319 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007131/2.288, allocations: 3.949 MB / 0.7358 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/2.288, allocations: 4 kB / 0.7358 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/2.288, allocations: 15.89 kB / 0.7358 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/2.306, allocations: 7.91 MB / 0.7435 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/2.306, allocations: 0.8125 kB / 0.7435 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/2.308, allocations: 355.6 kB / 0.7439 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/2.312, allocations: 1.935 MB / 0.7457 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003056/2.313, allocations: 71.94 kB / 0.7458 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008693/2.321, allocations: 6.73 MB / 0.7524 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.321, allocations: 0.625 kB / 0.7524 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/2.336, allocations: 6.174 MB / 0.7584 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/2.336, allocations: 190.1 kB / 0.7586 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/2.336, allocations: 67.81 kB / 0.7587 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/2.338, allocations: 71.95 kB / 0.7587 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/2.338, allocations: 177.8 kB / 0.7589 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/2.338, allocations: 84.81 kB / 0.759 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005308/2.339, allocations: 395.1 kB / 0.7594 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/2.339, allocations: 4.781 kB / 0.7594 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003718/2.343, allocations: 1.377 MB / 0.7607 GB, free: 7.664 MB / 0.6231 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.01893/2.361, allocations: 7.881 MB / 0.7684 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008765/2.37, allocations: 3.846 MB / 0.7722 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/2.37, allocations: 0.5 kB / 0.7722 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00502/2.375, allocations: 2.007 MB / 0.7741 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/2.38, allocations: 0.8828 MB / 0.775 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03411/2.414, allocations: 17.37 MB / 0.7919 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/2.416, allocations: 1.538 MB / 0.7934 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00104/2.417, allocations: 313.8 kB / 0.7937 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009757/2.418, allocations: 0.6945 MB / 0.7944 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of SimCode: time 1.112e-06/2.418, allocations: 0 / 0.7944 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3415/2.759, allocations: 107.6 MB / 0.8995 GB, free: 252.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.47/23.23, allocations: 8.906 kB / 0.8995 GB, free: 252.5 MB / 0.6856 GB " [Timeout remaining time 636] (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: 28.0404322729446] Failed to read output from testmodel.py, exit status != 0: 23.531898773973808 23.540442644 21.522561079 Calling exit ...