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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8108/0.8108, allocations: 153.8 MB / 172.7 MB, free: 4.867 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004975, allocations: 11.98 kB / 249.8 MB, free: 4.348 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1717, allocations: 33.35 MB / 283.2 MB, free: 1.719 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.TestStaticWaterWaterExchanger): time 1.791/1.963, allocations: 308.9 MB / 0.5782 GB, free: 17.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02255/1.985, allocations: 20.65 MB / 0.5983 GB, free: 8.324 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/1.986, allocations: 5.719 kB / 0.5984 GB, free: 8.324 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42: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/StaticWaterWaterExchanger.mo:84:3-86:38: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/StaticWaterWaterExchanger.mo:87:3-89:37: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/StaticWaterWaterExchanger.mo:90:3-92:37: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.0004469/1.986, allocations: 179.7 kB / 0.5985 GB, free: 8.238 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004769/1.987, allocations: 318.2 kB / 0.5988 GB, free: 8.023 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.01671/2.003, allocations: 7.218 MB / 0.6059 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/2.005, allocations: 0.9808 MB / 0.6068 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/2.005, allocations: 242.4 kB / 0.6071 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/2.005, allocations: 398.8 kB / 0.6074 GB, free: 3.859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/2.005, allocations: 296.8 kB / 0.6077 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/2.006, allocations: 52.72 kB / 0.6078 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02466/2.03, allocations: 14.46 MB / 0.6219 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/2.03, allocations: 131.5 kB / 0.622 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005105/2.031, allocations: 291.6 kB / 0.6223 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/2.045, allocations: 6.968 MB / 0.6291 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/2.045, allocations: 0 / 0.6291 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/2.045, allocations: 0.8125 kB / 0.6291 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.909e-06/2.045, allocations: 1.125 kB / 0.6291 GB, free: 15.61 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004323/2.05, allocations: 1.507 MB / 0.6306 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/2.05, allocations: 8.031 kB / 0.6306 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/2.05, allocations: 126.1 kB / 0.6307 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/2.05, allocations: 84.39 kB / 0.6308 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/2.051, allocations: 281.6 kB / 0.6311 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002456/2.051, allocations: 199.2 kB / 0.6312 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/2.051, allocations: 52.11 kB / 0.6313 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/2.052, allocations: 0.7932 MB / 0.6321 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/2.052, allocations: 0 / 0.6321 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/2.052, allocations: 23.94 kB / 0.6321 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/2.052, allocations: 35.97 kB / 0.6321 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/2.053, allocations: 0.5865 MB / 0.6327 GB, free: 11.78 MB / 0.4981 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.0715/2.125, allocations: 21.9 MB / 0.6541 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/2.126, allocations: 479.2 kB / 0.6545 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/2.127, allocations: 278.7 kB / 0.6548 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07287/2.2, allocations: 21.17 MB / 0.6755 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/2.2, allocations: 34.56 kB / 0.6755 GB, free: 15.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=126): time 2.695e-06/2.2, allocations: 4 kB / 0.6755 GB, free: 15.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=126): time 0.01667/2.216, allocations: 3.184 MB / 0.6786 GB, free: 12.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/2.216, allocations: 59.83 kB / 0.6787 GB, free: 12.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/2.217, allocations: 340.4 kB / 0.679 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/2.217, allocations: 33.7 kB / 0.679 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/2.217, allocations: 233.7 kB / 0.6793 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/2.217, allocations: 432 kB / 0.6797 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/2.218, allocations: 130.1 kB / 0.6798 GB, free: 11.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001877/2.218, allocations: 371.9 kB / 0.6802 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/2.218, allocations: 281.6 kB / 0.6804 GB, free: 10.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/2.219, allocations: 393.2 kB / 0.6808 GB, free: 10.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/2.221, allocations: 0.7303 MB / 0.6815 GB, free: 9.582 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/2.221, allocations: 3.938 kB / 0.6815 GB, free: 9.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004254/2.225, allocations: 1.242 MB / 0.6827 GB, free: 8.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/2.225, allocations: 8 kB / 0.6827 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/2.225, allocations: 4 kB / 0.6827 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/2.229, allocations: 1.38 MB / 0.6841 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/2.229, allocations: 19.98 kB / 0.6841 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/2.231, allocations: 1.386 MB / 0.6855 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/2.231, allocations: 96.59 kB / 0.6856 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/2.231, allocations: 23.98 kB / 0.6856 GB, free: 5.383 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.0002564/2.232, allocations: 178.8 kB / 0.6857 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/2.232, allocations: 59.58 kB / 0.6858 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004468/2.236, allocations: 3.886 MB / 0.6896 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002723/2.239, allocations: 1.255 MB / 0.6908 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.239, allocations: 0 / 0.6908 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/2.239, allocations: 8.766 kB / 0.6908 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/2.246, allocations: 2.7 MB / 0.6935 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/2.246, allocations: 4 kB / 0.6935 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/2.246, allocations: 95.84 kB / 0.6936 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/2.248, allocations: 0.8639 MB / 0.6944 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/2.248, allocations: 20.55 kB / 0.6944 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/2.25, allocations: 1.507 MB / 0.6959 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/2.25, allocations: 0 / 0.6959 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/2.255, allocations: 1.477 MB / 0.6973 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/2.255, allocations: 84.52 kB / 0.6974 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/2.255, allocations: 39.72 kB / 0.6975 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/2.256, allocations: 27.98 kB / 0.6975 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/2.256, allocations: 56.88 kB / 0.6975 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/2.256, allocations: 23.98 kB / 0.6976 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004917/2.256, allocations: 387.1 kB / 0.6979 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/2.256, allocations: 0 / 0.6979 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002764/2.259, allocations: 1.06 MB / 0.699 GB, free: 7.426 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.009889/2.269, allocations: 3.138 MB / 0.702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002491/2.271, allocations: 1.075 MB / 0.7031 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/2.271, allocations: 0.5 kB / 0.7031 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/2.273, allocations: 473 kB / 0.7035 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/2.275, allocations: 432.2 kB / 0.7039 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/2.287, allocations: 6.554 MB / 0.7103 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/2.287, allocations: 412.9 kB / 0.7107 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002959/2.288, allocations: 64.14 kB / 0.7108 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/2.288, allocations: 303.3 kB / 0.7111 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/2.288, allocations: 0 / 0.7111 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/2.396, allocations: 58.92 MB / 0.7686 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/17.36, allocations: 5.859 kB / 0.7686 GB, free: 0.9883 MB / 0.6231 GB " [Timeout remaining time 642] (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 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.463383571710438] Failed to read output from testmodel.py, exit status != 0: 17.867494609206915 17.878804804 15.830864366 Calling exit ...