Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.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.TestCompressor,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCompressor,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCompressor",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.8101/0.8101, allocations: 150.9 MB / 166 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 19.97 kB / 204.1 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 31.33 MB / 235.4 MB, free: 5.445 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.TestCompressor): time 1.559/1.693, allocations: 294.5 MB / 0.5175 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4646/2.157, allocations: 194.4 MB / 0.7074 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/2.158, allocations: 5.188 kB / 0.7074 GB, free: 3.887 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/Compressor.mo:19:3-21:16: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 4.0.0-master/WaterSteam/Machines/Compressor.mo:22:3-23:52:writable] Warning: Connector C2 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/Sink.mo:17:3-19:16: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/SourcePQ.mo:29:3-30:52: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/PressureLosses/LumpedStraightPipe.mo:49:3-50: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 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 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/PressureLosses/LumpedStraightPipe.mo:49:3-50: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 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53: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.0004411/2.158, allocations: 151 kB / 0.7075 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/2.158, allocations: 153.8 kB / 0.7077 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02575/2.184, allocations: 10.12 MB / 0.7175 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006666/2.185, allocations: 0.6041 MB / 0.7181 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/2.185, allocations: 213.3 kB / 0.7183 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/2.185, allocations: 233.4 kB / 0.7186 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/2.186, allocations: 226.8 kB / 0.7188 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/2.186, allocations: 27.97 kB / 0.7188 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03476/2.22, allocations: 23.29 MB / 0.7415 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/2.221, allocations: 73.33 kB / 0.7416 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003754/2.221, allocations: 246.6 kB / 0.7418 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02411/2.245, allocations: 11.83 MB / 0.7534 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/2.245, allocations: 1.203 kB / 0.7534 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.764e-06/2.245, allocations: 0 / 0.7534 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.715e-06/2.245, allocations: 0 / 0.7534 GB, free: 14.14 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.005788/2.251, allocations: 2.115 MB / 0.7555 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/2.251, allocations: 11.39 kB / 0.7555 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.679e-05/2.251, allocations: 87.36 kB / 0.7556 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/2.251, allocations: 56.09 kB / 0.7556 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/2.252, allocations: 300.4 kB / 0.7559 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/2.252, allocations: 32.25 kB / 0.7559 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/2.252, allocations: 38.16 kB / 0.756 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/2.252, allocations: 0.5121 MB / 0.7565 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/2.252, allocations: 5.094 kB / 0.7565 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/2.252, allocations: 16.28 kB / 0.7565 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/2.252, allocations: 21.11 kB / 0.7565 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/2.253, allocations: 322.9 kB / 0.7568 GB, free: 12.21 MB / 0.5919 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.002304/2.255, allocations: 2.733 MB / 0.7595 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/2.256, allocations: 279.2 kB / 0.7597 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/2.256, allocations: 155.6 kB / 0.7599 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2222/2.478, allocations: 125 MB / 0.882 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/2.478, allocations: 30.56 kB / 0.882 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=65): time 2.184e-06/2.478, allocations: 0 / 0.882 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65): time 0.002519/2.481, allocations: 1.001 MB / 0.883 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/2.481, allocations: 51.41 kB / 0.883 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/2.481, allocations: 356.5 kB / 0.8834 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/2.481, allocations: 29.2 kB / 0.8834 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/2.481, allocations: 212.7 kB / 0.8836 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/2.481, allocations: 219.3 kB / 0.8838 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/2.482, allocations: 89.52 kB / 0.8839 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000109/2.482, allocations: 355.8 kB / 0.8842 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/2.482, allocations: 117.5 kB / 0.8844 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/2.482, allocations: 209.9 kB / 0.8846 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/2.483, allocations: 369.8 kB / 0.8849 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/2.483, allocations: 0 / 0.8849 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001345/2.484, allocations: 0.5947 MB / 0.8855 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/2.484, allocations: 8 kB / 0.8855 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/2.484, allocations: 0 / 0.8855 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/2.485, allocations: 344.5 kB / 0.8858 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/2.485, allocations: 42.19 kB / 0.8859 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/2.487, allocations: 1.854 MB / 0.8877 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/2.487, allocations: 54.75 kB / 0.8877 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/2.487, allocations: 23.55 kB / 0.8878 GB, free: 15.31 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sourceP.C.b,puitsP.C.a,compressor.C2.b,compressor.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001709/2.487, allocations: 166.9 kB / 0.8879 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/2.487, allocations: 39.44 kB / 0.888 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/2.488, allocations: 1.058 MB / 0.889 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009612/2.489, allocations: 0.7687 MB / 0.8897 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/2.489, allocations: 3.984 kB / 0.8897 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/2.489, allocations: 7.922 kB / 0.8897 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/2.492, allocations: 1.878 MB / 0.8916 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/2.492, allocations: 3 kB / 0.8916 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/2.492, allocations: 94.42 kB / 0.8917 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/2.493, allocations: 384.1 kB / 0.892 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/2.493, allocations: 16.44 kB / 0.8921 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/2.495, allocations: 1.899 MB / 0.8939 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/2.495, allocations: 0 / 0.8939 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/2.496, allocations: 0.9225 MB / 0.8948 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/2.496, allocations: 188 kB / 0.895 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/2.496, allocations: 12 kB / 0.895 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/2.496, allocations: 16.11 kB / 0.895 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/2.496, allocations: 44.55 kB / 0.8951 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/2.496, allocations: 16 kB / 0.8951 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002433/2.497, allocations: 252.4 kB / 0.8953 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/2.497, allocations: 0 / 0.8953 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005504/2.502, allocations: 2.026 MB / 0.8973 GB, free: 6.82 MB / 0.7325 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 (60): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01024/2.513, allocations: 4.358 MB / 0.9015 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001101/2.514, allocations: 0.7256 MB / 0.9023 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/2.514, allocations: 0 / 0.9023 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005533/2.514, allocations: 373.5 kB / 0.9026 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/2.515, allocations: 265 kB / 0.9029 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008628/2.524, allocations: 5.4 MB / 0.9081 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/2.525, allocations: 0.9205 MB / 0.909 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003087/2.525, allocations: 70.02 kB / 0.9091 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/2.525, allocations: 235.4 kB / 0.9093 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of SimCode: time 7.31e-07/2.525, allocations: 0 / 0.9093 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2709/2.796, allocations: 80.86 MB / 0.9883 GB, free: 448.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/2.796, allocations: 275.8 kB / 0.9886 GB, free: 448.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.008/8.804, allocations: 0 / 0.9886 GB, free: 448.4 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCompressor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCompressor.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe 2>&1)