Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IDEAS_IDEAS_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.00697/0.00697, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.001851/0.001851, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7914/0.7914, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 75.86 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1519, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06164/0.2135, allocations: 61.16 MB / 0.7189 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.23, allocations: 11.98 MB / 0.7306 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.2317, allocations: 59.62 kB / 0.7307 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.2334, allocations: 0.6713 MB / 0.7313 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004629/0.2381, allocations: 1.962 MB / 0.7333 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.2408, allocations: 1.208 MB / 0.7344 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00376/0.2446, allocations: 3.091 MB / 0.7375 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.246, allocations: 1.092 MB / 0.7385 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.2486, allocations: 1.336 MB / 0.7398 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.2498, allocations: 0.8984 MB / 0.7407 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.25, allocations: 116 kB / 0.7408 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.2526, allocations: 1.439 MB / 0.7422 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.2529, allocations: 294.9 kB / 0.7425 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006992/0.2536, allocations: 0.692 MB / 0.7432 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003052/0.2567, allocations: 2.316 MB / 0.7454 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2567, allocations: 0 / 0.7454 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2567, allocations: 0 / 0.7454 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.2567, allocations: 0 / 0.7454 GB, free: 5.383 MB / 0.5762 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.002866/0.2596, allocations: 1.767 MB / 0.7472 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2596, allocations: 8.031 kB / 0.7472 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.2598, allocations: 126.9 kB / 0.7473 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.2618, allocations: 415.2 kB / 0.7477 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.2639, allocations: 1.176 MB / 0.7488 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.264, allocations: 58 kB / 0.7489 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.2641, allocations: 84 kB / 0.749 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.2661, allocations: 0.9976 MB / 0.7499 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.2661, allocations: 4 kB / 0.7499 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.548e-05/0.2662, allocations: 36 kB / 0.75 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.2662, allocations: 16 kB / 0.75 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.2685, allocations: 0.8664 MB / 0.7508 GB, free: 15.65 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.006229/0.2747, allocations: 5.221 MB / 0.7559 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.2781, allocations: 0.7887 MB / 0.7567 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/0.2788, allocations: 292.7 kB / 0.757 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.2795, allocations: 0.9025 MB / 0.7579 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2796, allocations: 38.56 kB / 0.7579 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/0.2796, allocations: 0 / 0.7579 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.008117/0.2877, allocations: 1.849 MB / 0.7597 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2877, allocations: 59.41 kB / 0.7598 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.2892, allocations: 1.072 MB / 0.7608 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.2893, allocations: 37.64 kB / 0.7609 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.2898, allocations: 0.5398 MB / 0.7614 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2899, allocations: 162.6 kB / 0.7615 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.2902, allocations: 146.2 kB / 0.7617 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2903, allocations: 329.9 kB / 0.762 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008883/0.2912, allocations: 307.3 kB / 0.7623 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.2923, allocations: 0.5307 MB / 0.7628 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.294, allocations: 0.7289 MB / 0.7635 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.294, allocations: 4 kB / 0.7635 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002618/0.2967, allocations: 1.013 MB / 0.7645 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2967, allocations: 9.875 kB / 0.7645 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2967, allocations: 4 kB / 0.7645 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.2979, allocations: 312 kB / 0.7648 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.2985, allocations: 127.8 kB / 0.7649 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.2999, allocations: 0.9113 MB / 0.7658 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.301, allocations: 147.5 kB / 0.766 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.3011, allocations: 31.98 kB / 0.766 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00118/0.3023, allocations: 0.5129 MB / 0.7665 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001087/0.3034, allocations: 0.5346 MB / 0.767 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001675/0.3051, allocations: 0.6985 MB / 0.7677 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/0.3051, allocations: 0 / 0.7677 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00262/0.3077, allocations: 1.012 MB / 0.7687 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3077, allocations: 8 kB / 0.7687 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3077, allocations: 4 kB / 0.7687 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.3088, allocations: 300.7 kB / 0.769 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.3093, allocations: 135.8 kB / 0.7691 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.3107, allocations: 0.8989 MB / 0.77 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.3118, allocations: 139.6 kB / 0.7701 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.3119, allocations: 27.98 kB / 0.7702 GB, free: 10.78 MB / 0.6075 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.0002201/0.3121, allocations: 226 kB / 0.7704 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.3123, allocations: 111.3 kB / 0.7705 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/0.3161, allocations: 1.087 MB / 0.7715 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.3161, allocations: 7.984 kB / 0.7715 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3161, allocations: 0 / 0.7715 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3161, allocations: 4 kB / 0.7716 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/0.3212, allocations: 2.151 MB / 0.7737 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3213, allocations: 4.281 kB / 0.7737 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.3215, allocations: 63.89 kB / 0.7737 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009879/0.3225, allocations: 300.4 kB / 0.774 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.3226, allocations: 11.98 kB / 0.774 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.3241, allocations: 0.937 MB / 0.7749 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3241, allocations: 3.938 kB / 0.7749 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/0.3277, allocations: 1.149 MB / 0.7761 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/0.3281, allocations: 268.2 kB / 0.7763 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.3283, allocations: 15.98 kB / 0.7763 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/0.3291, allocations: 63.92 kB / 0.7764 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.3292, allocations: 43.83 kB / 0.7764 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.3292, allocations: 23.98 kB / 0.7765 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00124/0.3305, allocations: 0.7512 MB / 0.7772 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3305, allocations: 4 kB / 0.7772 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001496/0.332, allocations: 0.5692 MB / 0.7777 GB, free: 2.805 MB / 0.6075 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.004534/0.3365, allocations: 1.975 MB / 0.7797 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003216/0.3398, allocations: 1.124 MB / 0.7808 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3398, allocations: 0.9375 kB / 0.7808 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.3407, allocations: 346.5 kB / 0.7811 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.3429, allocations: 0.5118 MB / 0.7816 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.3595, allocations: 8.289 MB / 0.7897 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/0.3603, allocations: 1.053 MB / 0.7907 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008673/0.3611, allocations: 236.6 kB / 0.791 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/0.3617, allocations: 403.3 kB / 0.7913 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.3617, allocations: 0 / 0.7913 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.025/1.387, allocations: 33.54 MB / 0.8241 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/16.17, allocations: 12.97 kB / 0.8241 GB, free: 140.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)