Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleStaticCondenser",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.7683/0.7683, allocations: 150.9 MB / 166 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 15.97 kB / 204.1 MB, free: 9.996 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 31.33 MB / 235.4 MB, free: 5.434 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.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.48/1.624, allocations: 295.7 MB / 0.5187 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4915/2.115, allocations: 191.1 MB / 0.7053 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/2.116, allocations: 17.47 kB / 0.7053 GB, free: 3.797 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:65:3-66:55:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:67:3-68:54:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:69:3-70:51:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:71:3-72:53:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005446/2.116, allocations: 162.1 kB / 0.7054 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006313/2.117, allocations: 288 kB / 0.7057 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02379/2.141, allocations: 9.017 MB / 0.7145 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001428/2.142, allocations: 0.9812 MB / 0.7155 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/2.143, allocations: 399.2 kB / 0.7158 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/2.143, allocations: 378.7 kB / 0.7162 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/2.144, allocations: 374.1 kB / 0.7166 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/2.144, allocations: 48.8 kB / 0.7166 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03014/2.174, allocations: 20.11 MB / 0.7362 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/2.174, allocations: 145.9 kB / 0.7364 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006276/2.175, allocations: 437.4 kB / 0.7368 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02254/2.197, allocations: 10.44 MB / 0.747 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/2.197, allocations: 4.344 kB / 0.747 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/2.197, allocations: 64 / 0.747 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 1.214e-05/2.197, allocations: 0 / 0.747 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004744/2.202, allocations: 2.188 MB / 0.7491 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/2.202, allocations: 11.78 kB / 0.7492 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/2.202, allocations: 141 kB / 0.7493 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/2.202, allocations: 99 kB / 0.7494 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/2.203, allocations: 443.5 kB / 0.7498 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/2.203, allocations: 50.22 kB / 0.7499 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/2.203, allocations: 73.97 kB / 0.7499 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/2.204, allocations: 0.8307 MB / 0.7507 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/2.204, allocations: 2.156 kB / 0.7507 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/2.204, allocations: 29.5 kB / 0.7508 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/2.204, allocations: 30.06 kB / 0.7508 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/2.205, allocations: 0.5301 MB / 0.7513 GB, free: 13.88 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.01333/2.218, allocations: 12.39 MB / 0.7634 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/2.218, allocations: 271 kB / 0.7637 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/2.219, allocations: 197.8 kB / 0.7639 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08547/2.304, allocations: 53.94 MB / 0.8165 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/2.304, allocations: 33.69 kB / 0.8166 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=86): time 2.445e-06/2.304, allocations: 0 / 0.8166 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86): time 0.001825/2.306, allocations: 0.9448 MB / 0.8175 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/2.306, allocations: 59.41 kB / 0.8175 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/2.307, allocations: 489.9 kB / 0.818 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/2.307, allocations: 26.8 kB / 0.818 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/2.307, allocations: 377.7 kB / 0.8184 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/2.307, allocations: 287 kB / 0.8187 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/2.307, allocations: 131.5 kB / 0.8188 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001881/2.307, allocations: 370.8 kB / 0.8191 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/2.308, allocations: 170.6 kB / 0.8193 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/2.308, allocations: 359.6 kB / 0.8197 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/2.309, allocations: 0.5897 MB / 0.8202 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/2.309, allocations: 0 / 0.8202 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001098/2.31, allocations: 0.745 MB / 0.821 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/2.31, allocations: 8.75 kB / 0.821 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/2.31, allocations: 8 kB / 0.821 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/2.312, allocations: 339.8 kB / 0.8213 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/2.312, allocations: 62.88 kB / 0.8214 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009086/2.313, allocations: 1.299 MB / 0.8226 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/2.313, allocations: 77.97 kB / 0.8227 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/2.313, allocations: 32.28 kB / 0.8227 GB, free: 6.508 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002275/2.313, allocations: 200.7 kB / 0.8229 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/2.313, allocations: 67.09 kB / 0.823 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/2.315, allocations: 1.825 MB / 0.8248 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009083/2.316, allocations: 0.8033 MB / 0.8256 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/2.316, allocations: 4 kB / 0.8256 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/2.316, allocations: 7.922 kB / 0.8256 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/2.318, allocations: 2.212 MB / 0.8277 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/2.318, allocations: 0 / 0.8277 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/2.319, allocations: 97.2 kB / 0.8278 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009345/2.32, allocations: 279.8 kB / 0.8281 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/2.32, allocations: 8.203 kB / 0.8281 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008446/2.321, allocations: 1.344 MB / 0.8294 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/2.321, allocations: 0 / 0.8294 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/2.322, allocations: 0.9794 MB / 0.8304 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/2.322, allocations: 217.9 kB / 0.8306 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.844e-05/2.322, allocations: 29.64 kB / 0.8306 GB, free: 328 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/2.322, allocations: 17.62 kB / 0.8306 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/2.322, allocations: 45.97 kB / 0.8307 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/2.322, allocations: 20.94 kB / 0.8307 GB, free: 264 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004387/2.323, allocations: 394.7 kB / 0.8311 GB, free: 15.96 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.21e-07/2.323, allocations: 0 / 0.8311 GB, free: 15.96 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003572/2.326, allocations: 1.505 MB / 0.8325 GB, free: 14.57 MB / 0.67 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007547/2.334, allocations: 3.652 MB / 0.8361 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001046/2.335, allocations: 0.9463 MB / 0.837 GB, free: 10.24 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/2.335, allocations: 1.203 kB / 0.837 GB, free: 10.24 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004611/2.336, allocations: 388.2 kB / 0.8374 GB, free: 9.867 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/2.337, allocations: 405.6 kB / 0.8378 GB, free: 9.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008271/2.345, allocations: 6.648 MB / 0.8443 GB, free: 2.637 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/2.346, allocations: 1.047 MB / 0.8453 GB, free: 1.562 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003638/2.346, allocations: 108.6 kB / 0.8454 GB, free: 1.461 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/2.347, allocations: 371.3 kB / 0.8457 GB, free: 1.102 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/2.347, allocations: 0 / 0.8457 GB, free: 1.102 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.277/7.623, allocations: 67.51 MB / 0.9117 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/7.624, allocations: 249.3 kB / 0.9119 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.559/12.18, allocations: 4 kB / 0.9119 GB, free: 13.73 MB / 0.7481 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleStaticCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)