Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 106.8 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7421/0.7421, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 62.94 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 76.19 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05505/0.2049, allocations: 61.13 MB / 0.6913 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01734/0.2223, allocations: 12.01 MB / 0.703 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.2246, allocations: 55.69 kB / 0.7031 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.2268, allocations: 0.6752 MB / 0.7037 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005394/0.2323, allocations: 1.961 MB / 0.7056 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.2353, allocations: 1.208 MB / 0.7068 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00397/0.2393, allocations: 3.083 MB / 0.7098 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.241, allocations: 1.102 MB / 0.7109 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/0.2444, allocations: 1.358 MB / 0.7122 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.2463, allocations: 0.8983 MB / 0.7131 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003994/0.2467, allocations: 116 kB / 0.7132 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.2499, allocations: 1.439 MB / 0.7146 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004818/0.2504, allocations: 290.9 kB / 0.7149 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.2517, allocations: 0.6958 MB / 0.7156 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004135/0.2559, allocations: 2.287 MB / 0.7178 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2559, allocations: 0 / 0.7178 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2559, allocations: 0 / 0.7178 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.705e-05/0.256, allocations: 0 / 0.7178 GB, free: 12.32 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003739/0.2597, allocations: 1.715 MB / 0.7195 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2598, allocations: 8.031 kB / 0.7195 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.26, allocations: 126.9 kB / 0.7196 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.2621, allocations: 406.8 kB / 0.72 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.2646, allocations: 1.167 MB / 0.7211 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/0.2647, allocations: 62 kB / 0.7212 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.2648, allocations: 91.98 kB / 0.7213 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.2668, allocations: 0.9937 MB / 0.7223 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2668, allocations: 0 / 0.7223 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.2669, allocations: 36 kB / 0.7223 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.267, allocations: 16 kB / 0.7223 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.2691, allocations: 0.8625 MB / 0.7231 GB, free: 6.664 MB / 0.5606 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.006683/0.2758, allocations: 5.227 MB / 0.7283 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.279, allocations: 0.788 MB / 0.729 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/0.2796, allocations: 292.8 kB / 0.7293 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/0.2802, allocations: 0.9063 MB / 0.7302 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.2803, allocations: 50.38 kB / 0.7302 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.2803, allocations: 0 / 0.7302 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007683/0.288, allocations: 1.844 MB / 0.732 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2881, allocations: 55.41 kB / 0.7321 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.2897, allocations: 1.072 MB / 0.7331 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/0.2898, allocations: 33.7 kB / 0.7332 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.2903, allocations: 0.5389 MB / 0.7337 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.2904, allocations: 161.7 kB / 0.7338 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.2907, allocations: 134.2 kB / 0.734 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2908, allocations: 322 kB / 0.7343 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008088/0.2916, allocations: 311.2 kB / 0.7346 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009675/0.2926, allocations: 0.5346 MB / 0.7351 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.2941, allocations: 0.7214 MB / 0.7358 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.2941, allocations: 4 kB / 0.7358 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002565/0.2967, allocations: 1.012 MB / 0.7368 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2967, allocations: 8 kB / 0.7368 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.2968, allocations: 4 kB / 0.7368 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.298, allocations: 304.6 kB / 0.7371 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.2985, allocations: 127.8 kB / 0.7372 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.2999, allocations: 0.9034 MB / 0.7381 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.3011, allocations: 151.2 kB / 0.7382 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.308e-05/0.3012, allocations: 39.98 kB / 0.7383 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001123/0.3023, allocations: 0.5051 MB / 0.7388 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009227/0.3033, allocations: 0.5346 MB / 0.7393 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001448/0.3047, allocations: 0.7062 MB / 0.74 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/0.3047, allocations: 0 / 0.74 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00252/0.3073, allocations: 1.004 MB / 0.741 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3073, allocations: 13.66 kB / 0.741 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.3073, allocations: 8.062 kB / 0.741 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.3083, allocations: 298.2 kB / 0.7413 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.3089, allocations: 131.8 kB / 0.7414 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.3102, allocations: 0.8879 MB / 0.7423 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.3114, allocations: 139.5 kB / 0.7424 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.352e-05/0.3115, allocations: 27.98 kB / 0.7424 GB, free: 1.805 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 initialization (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.3118, allocations: 231.5 kB / 0.7426 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.3121, allocations: 110.7 kB / 0.7428 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/0.3157, allocations: 1.086 MB / 0.7438 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.3157, allocations: 11.92 kB / 0.7438 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3157, allocations: 0 / 0.7438 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3157, allocations: 8 kB / 0.7438 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3014/0.6171, allocations: 2.135 MB / 0.7459 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.6172, allocations: 4.688 kB / 0.7459 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.6175, allocations: 63.33 kB / 0.746 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009632/0.6184, allocations: 290.6 kB / 0.7463 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.6185, allocations: 12.28 kB / 0.7463 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.6197, allocations: 0.9265 MB / 0.7472 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6198, allocations: 5.812 kB / 0.7472 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.6231, allocations: 1.144 MB / 0.7483 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.6236, allocations: 266.3 kB / 0.7486 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.6237, allocations: 14.08 kB / 0.7486 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/0.6245, allocations: 68.02 kB / 0.7486 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.6246, allocations: 46.67 kB / 0.7487 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.6246, allocations: 22.95 kB / 0.7487 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001229/0.6259, allocations: 0.7478 MB / 0.7494 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6259, allocations: 0 / 0.7494 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001558/0.6275, allocations: 0.573 MB / 0.75 GB, free: 107.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004198/0.6317, allocations: 1.965 MB / 0.7519 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002829/0.6345, allocations: 1.124 MB / 0.753 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6345, allocations: 0 / 0.753 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008006/0.6353, allocations: 349.3 kB / 0.7533 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.6376, allocations: 0.4979 MB / 0.7538 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.6542, allocations: 8.253 MB / 0.7619 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.6547, allocations: 1.064 MB / 0.7629 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009241/0.6556, allocations: 228.6 kB / 0.7631 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/0.6561, allocations: 410.2 kB / 0.7635 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.723e-06/0.6561, allocations: 0 / 0.7635 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05407/0.7102, allocations: 34.24 MB / 0.797 GB, free: 71.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.49, allocations: 14.06 kB / 0.797 GB, free: 71.66 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)