Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser.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.Fluid.Examples.SimpleExamples.TestStaticAerocondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticAerocondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticAerocondenser",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.8357/0.8357, allocations: 150.8 MB / 166.1 MB, free: 15.46 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.98e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1757, allocations: 31.98 MB / 236.8 MB, free: 5.402 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser): time 1.528/1.704, allocations: 297.7 MB / 0.522 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4956/2.2, allocations: 191.3 MB / 0.7088 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006344/2.2, allocations: 18.69 kB / 0.7088 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005492/2.201, allocations: 182.3 kB / 0.709 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009452/2.202, allocations: 371.7 kB / 0.7094 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02724/2.229, allocations: 9.865 MB / 0.719 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001599/2.231, allocations: 1.381 MB / 0.7204 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006735/2.232, allocations: 0.6319 MB / 0.721 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/2.232, allocations: 487.3 kB / 0.7214 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/2.233, allocations: 0.5188 MB / 0.7219 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.156e-05/2.233, allocations: 51.03 kB / 0.722 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.036/2.269, allocations: 21.65 MB / 0.7431 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007257/2.269, allocations: 197.5 kB / 0.7433 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/2.271, allocations: 0.6078 MB / 0.7439 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02641/2.297, allocations: 11.53 MB / 0.7552 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/2.297, allocations: 0 / 0.7552 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.365e-06/2.297, allocations: 0 / 0.7552 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.524e-05/2.297, allocations: 0 / 0.7552 GB, free: 13.87 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: 347 * Number of variables: 347 Notification: Performance of Generate backend data structure: time 0.00574/2.303, allocations: 2.484 MB / 0.7576 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/2.303, allocations: 8.406 kB / 0.7576 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/2.303, allocations: 195.2 kB / 0.7578 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/2.303, allocations: 159.9 kB / 0.7579 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/2.304, allocations: 0.6071 MB / 0.7585 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/2.304, allocations: 98.14 kB / 0.7586 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/2.304, allocations: 122 kB / 0.7588 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/2.306, allocations: 1.331 MB / 0.7601 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/2.306, allocations: 12.05 kB / 0.7601 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/2.306, allocations: 55.44 kB / 0.7601 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/2.306, allocations: 34.75 kB / 0.7601 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/2.308, allocations: 0.8988 MB / 0.761 GB, free: 11.1 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.1465/2.454, allocations: 69.61 MB / 0.829 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/2.455, allocations: 365.2 kB / 0.8294 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/2.455, allocations: 175.8 kB / 0.8295 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8025/3.257, allocations: 296.6 MB / 1.119 GB, free: 120.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/3.257, allocations: 42.38 kB / 1.119 GB, free: 120.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 2.535e-06/3.258, allocations: 3.844 kB / 1.119 GB, free: 120.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003716/3.261, allocations: 1.47 MB / 1.121 GB, free: 118.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/3.261, allocations: 55.41 kB / 1.121 GB, free: 118.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/3.262, allocations: 0.7363 MB / 1.121 GB, free: 118.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/3.262, allocations: 33.64 kB / 1.121 GB, free: 118.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/3.262, allocations: 0.6227 MB / 1.122 GB, free: 117.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/3.262, allocations: 186.9 kB / 1.122 GB, free: 117.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/3.262, allocations: 105 kB / 1.122 GB, free: 117.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/3.262, allocations: 385.1 kB / 1.123 GB, free: 117.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/3.263, allocations: 198.9 kB / 1.123 GB, free: 117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/3.263, allocations: 0.6 MB / 1.123 GB, free: 116.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/3.264, allocations: 0.8696 MB / 1.124 GB, free: 115.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/3.264, allocations: 4 kB / 1.124 GB, free: 115.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001438/3.265, allocations: 1.065 MB / 1.125 GB, free: 114.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/3.265, allocations: 12 kB / 1.125 GB, free: 114.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/3.265, allocations: 14.81 kB / 1.125 GB, free: 114.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002337/3.268, allocations: 0.6781 MB / 1.126 GB, free: 114.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/3.268, allocations: 159.7 kB / 1.126 GB, free: 114 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/3.269, allocations: 2.611 MB / 1.129 GB, free: 111.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/3.27, allocations: 122.1 kB / 1.129 GB, free: 111.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/3.27, allocations: 47.62 kB / 1.129 GB, free: 111.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 23 (Source_condenseur.C.ftype,staticAerocondenser.Cws2.ftype,sourceP2.C.ftype,sourceP.C.ftype,staticAerocondenser.fluids[1],Puit_condenseur.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss5.fluid,staticAerocondenser.fluid_a,sourceP2.fluid1,sourceP.fluid1,Source_condenseur.fluid1,staticAerocondenser.Cws2.diff_on_1,Puit_condenseur1.C.diff_on_1,staticAerocondenser.Cw.diff_on_2,sourceP2.C.diff_on_2,staticAerocondenser.Cws1.diff_on_2,sourceP.C.diff_on_2,singularPressureLoss5.C1.diff_on_2,singularPressureLoss3.C2.diff_on_1,singularPressureLoss1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,3), (1,1), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002926/3.27, allocations: 283.5 kB / 1.129 GB, free: 111.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/3.27, allocations: 82.97 kB / 1.129 GB, free: 111 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/3.272, allocations: 0.9657 MB / 1.13 GB, free: 110.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009769/3.273, allocations: 0.6876 MB / 1.131 GB, free: 109.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/3.273, allocations: 4.875 kB / 1.131 GB, free: 109.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/3.273, allocations: 0 / 1.131 GB, free: 109.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06829/3.341, allocations: 43.43 MB / 1.173 GB, free: 62.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/3.341, allocations: 0 / 1.173 GB, free: 62.92 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/3.341, allocations: 71.27 kB / 1.173 GB, free: 62.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001772/3.343, allocations: 0.5971 MB / 1.174 GB, free: 62.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/3.343, allocations: 15.69 kB / 1.174 GB, free: 62.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/3.345, allocations: 2.634 MB / 1.177 GB, free: 59.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/3.345, allocations: 0 / 1.177 GB, free: 59.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/3.346, allocations: 0.8531 MB / 1.177 GB, free: 59.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/3.346, allocations: 210 kB / 1.178 GB, free: 58.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/3.346, allocations: 14.81 kB / 1.178 GB, free: 58.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/3.346, allocations: 22.8 kB / 1.178 GB, free: 58.89 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/3.346, allocations: 38.27 kB / 1.178 GB, free: 58.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/3.346, allocations: 19.62 kB / 1.178 GB, free: 58.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004519/3.347, allocations: 472.9 kB / 1.178 GB, free: 58.49 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/3.347, allocations: 5.75 kB / 1.178 GB, free: 58.49 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003583/3.35, allocations: 1.758 MB / 1.18 GB, free: 57.02 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,3), (1,1), (4,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007187/3.358, allocations: 3.777 MB / 1.183 GB, free: 53.97 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001383/3.359, allocations: 0.7682 MB / 1.184 GB, free: 53.39 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/3.359, allocations: 0 / 1.184 GB, free: 53.39 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006692/3.36, allocations: 366.6 kB / 1.185 GB, free: 53.12 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/3.361, allocations: 270 kB / 1.185 GB, free: 52.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009014/3.37, allocations: 8.31 MB / 1.193 GB, free: 45.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/3.37, allocations: 1.065 MB / 1.194 GB, free: 44.23 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004594/3.371, allocations: 138.8 kB / 1.194 GB, free: 44.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/3.371, allocations: 424.7 kB / 1.195 GB, free: 44 MB / 0.8106 GB Notification: Performance of SimCode: time 1.062e-06/3.371, allocations: 0 / 1.195 GB, free: 44 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.032/4.404, allocations: 68.06 MB / 1.261 GB, free: 471.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/4.404, allocations: 295.3 kB / 1.261 GB, free: 470.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.777/10.18, allocations: 2.375 kB / 1.261 GB, free: 470.8 MB / 0.8262 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticAerocondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticAerocondenser.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser.pipe 2>&1)