Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.8289/0.8289, allocations: 153.8 MB / 172.7 MB, free: 4.887 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.Book.SimpleExamples.PressureLoss.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_PressureLoss_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_PressureLoss_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005258, allocations: 15.97 kB / 249.7 MB, free: 4.43 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1765, allocations: 33.35 MB / 283.1 MB, free: 1.738 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.825/2.001, allocations: 307.5 MB / 0.5767 GB, free: 17.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03217/2.033, allocations: 30.75 MB / 0.6067 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/2.034, allocations: 1.25 kB / 0.6067 GB, free: 2.805 MB / 478.1 MB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Diaphragm.mo:30:3-32:42:writable] Warning: Connector C1 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/PressureLosses/Diaphragm.mo:33:3-35:37:writable] Warning: Connector C2 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.0004086/2.034, allocations: 117.8 kB / 0.6068 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/2.034, allocations: 113 kB / 0.6069 GB, free: 2.676 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der 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.02616/2.06, allocations: 9.751 MB / 0.6165 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006585/2.061, allocations: 362.7 kB / 0.6168 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/2.061, allocations: 88.84 kB / 0.6169 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/2.062, allocations: 159.3 kB / 0.6171 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/2.062, allocations: 99.44 kB / 0.6171 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/2.062, allocations: 23.25 kB / 0.6172 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03369/2.096, allocations: 16.83 MB / 0.6336 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.637e-05/2.096, allocations: 47.78 kB / 0.6337 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/2.096, allocations: 107.5 kB / 0.6338 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01999/2.116, allocations: 8.505 MB / 0.6421 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/2.116, allocations: 0 / 0.6421 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/2.116, allocations: 0 / 0.6421 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.006e-05/2.116, allocations: 0 / 0.6421 GB, free: 2.59 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004124/2.12, allocations: 1.43 MB / 0.6435 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/2.12, allocations: 8.031 kB / 0.6435 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.898e-05/2.12, allocations: 66.53 kB / 0.6435 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/2.12, allocations: 32.66 kB / 0.6436 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/2.12, allocations: 180.7 kB / 0.6437 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/2.12, allocations: 13.38 kB / 0.6437 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/2.12, allocations: 20 kB / 0.6438 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/2.121, allocations: 346.8 kB / 0.6441 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/2.121, allocations: 3.938 kB / 0.6441 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/2.121, allocations: 12 kB / 0.6441 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/2.121, allocations: 8 kB / 0.6441 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/2.121, allocations: 178.5 kB / 0.6443 GB, free: 204 kB / 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.03565/2.157, allocations: 10.92 MB / 0.655 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/2.157, allocations: 131.2 kB / 0.6551 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/2.157, allocations: 68.83 kB / 0.6551 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1464/2.304, allocations: 43.62 MB / 0.6977 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/2.304, allocations: 39.31 kB / 0.6978 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.515e-06/2.304, allocations: 0 / 0.6978 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009347/2.305, allocations: 345.4 kB / 0.6981 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/2.305, allocations: 81.11 kB / 0.6982 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/2.305, allocations: 219.1 kB / 0.6984 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/2.305, allocations: 29.7 kB / 0.6984 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/2.305, allocations: 164.6 kB / 0.6986 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/2.305, allocations: 111 kB / 0.6987 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/2.305, allocations: 49.69 kB / 0.6987 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001684/2.306, allocations: 346.8 kB / 0.6991 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/2.306, allocations: 71.98 kB / 0.6991 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/2.306, allocations: 164.9 kB / 0.6993 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/2.306, allocations: 238.3 kB / 0.6995 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/2.306, allocations: 0 / 0.6995 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000463/2.307, allocations: 302.2 kB / 0.6998 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/2.307, allocations: 11.98 kB / 0.6998 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/2.307, allocations: 2.312 kB / 0.6998 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00093/2.308, allocations: 136.8 kB / 0.6999 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/2.308, allocations: 19.92 kB / 0.7 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005936/2.308, allocations: 0.6108 MB / 0.7006 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/2.308, allocations: 31.7 kB / 0.7006 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/2.309, allocations: 12.75 kB / 0.7006 GB, free: 6.254 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001425/2.309, allocations: 133.8 kB / 0.7007 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/2.309, allocations: 23.8 kB / 0.7008 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000964/2.31, allocations: 0.609 MB / 0.7014 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005308/2.31, allocations: 222.3 kB / 0.7016 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/2.31, allocations: 0 / 0.7016 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/2.31, allocations: 4 kB / 0.7016 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/2.311, allocations: 0.6665 MB / 0.7022 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/2.311, allocations: 6.656 kB / 0.7022 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/2.311, allocations: 15.98 kB / 0.7022 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/2.312, allocations: 115 kB / 0.7023 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/2.312, allocations: 7.984 kB / 0.7024 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005333/2.312, allocations: 0.6421 MB / 0.703 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/2.312, allocations: 4.062 kB / 0.703 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/2.313, allocations: 347 kB / 0.7033 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.675e-05/2.313, allocations: 27.83 kB / 0.7033 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/2.313, allocations: 15.83 kB / 0.7034 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/2.313, allocations: 5.906 kB / 0.7034 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/2.313, allocations: 13.84 kB / 0.7034 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/2.313, allocations: 11.94 kB / 0.7034 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002561/2.313, allocations: 239.1 kB / 0.7036 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/2.313, allocations: 0 / 0.7036 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003228/2.317, allocations: 1.231 MB / 0.7048 GB, free: 1.762 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 (13): * Single equations (assignments): 12 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005711/2.322, allocations: 2.551 MB / 0.7073 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000614/2.323, allocations: 239.4 kB / 0.7075 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.323, allocations: 0 / 0.7075 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/2.323, allocations: 85.88 kB / 0.7076 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/2.324, allocations: 130.7 kB / 0.7077 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/2.328, allocations: 3.099 MB / 0.7108 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/2.328, allocations: 164.8 kB / 0.7109 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001155/2.328, allocations: 24.88 kB / 0.711 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/2.329, allocations: 96.16 kB / 0.711 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/2.329, allocations: 0 / 0.711 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09623/2.425, allocations: 49.14 MB / 0.759 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/16.82, allocations: 7.375 kB / 0.759 GB, free: 10.85 MB / 0.6231 GB " [Timeout remaining time 643] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_PressureLoss_TestDiaphragm_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_PressureLoss_TestDiaphragm.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.755270014051348] Failed to read output from testmodel.py, exit status != 0: 17.308565825223923 17.318432502 15.200326828 Calling exit ...