Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.2 MB / 303.2 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 183.9 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009106/0.0009108, allocations: 93.52 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006159/0.000616, allocations: 11.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2913, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003875/0.2953, allocations: 3.69 MB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.2977, allocations: 1.731 MB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.2979, allocations: 7.938 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.2981, allocations: 63.61 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.2986, allocations: 199.4 kB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.2991, allocations: 184.4 kB / 0.9852 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.2994, allocations: 355.2 kB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.2998, allocations: 388.9 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3, allocations: 175.4 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.3003, allocations: 183.3 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.3003, allocations: 20 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.3005, allocations: 115.8 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.269e-05/0.3006, allocations: 115.7 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.3007, allocations: 105.5 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.3011, allocations: 459.1 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3011, allocations: 4 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3011, allocations: 3.938 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3011, allocations: 0 / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.000987/0.3021, allocations: 0.6588 MB / 0.9877 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3021, allocations: 12.02 kB / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.3022, allocations: 74.53 kB / 0.9878 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.3031, allocations: 167.3 kB / 0.9879 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.3036, allocations: 321.3 kB / 0.9882 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.3036, allocations: 28.98 kB / 0.9883 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.3037, allocations: 32 kB / 0.9883 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/0.3043, allocations: 0.5236 MB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3043, allocations: 0 / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.3044, allocations: 20 kB / 0.9888 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.3044, allocations: 24.64 kB / 0.9888 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.3049, allocations: 394.2 kB / 0.9892 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.3069, allocations: 2.415 MB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.3074, allocations: 268.7 kB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.3074, allocations: 3.953 kB / 0.9918 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.3074, allocations: 38.55 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.3074, allocations: 0 / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001847/0.3093, allocations: 1.122 MB / 0.993 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.3093, allocations: 55.41 kB / 0.993 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3096, allocations: 300.4 kB / 0.9933 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3096, allocations: 29.7 kB / 0.9933 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3097, allocations: 231.6 kB / 0.9936 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.3098, allocations: 82.83 kB / 0.9936 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.3098, allocations: 8 kB / 0.9936 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.3099, allocations: 334.8 kB / 0.994 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.31, allocations: 100.6 kB / 0.9941 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3102, allocations: 195.7 kB / 0.9942 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3104, allocations: 127 kB / 0.9944 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3104, allocations: 0 / 0.9944 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006039/0.311, allocations: 446.7 kB / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.311, allocations: 4 kB / 0.9948 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.311, allocations: 8 kB / 0.9948 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.3114, allocations: 102.6 kB / 0.9949 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3117, allocations: 67.84 kB / 0.995 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.3139, allocations: 4.091 MB / 0.999 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.3141, allocations: 12.03 kB / 0.999 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.3141, allocations: 12.25 kB / 0.999 GB, free: 6.578 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.3143, allocations: 181.7 kB / 0.9992 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.3144, allocations: 35.58 kB / 0.9992 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.3145, allocations: 42.25 kB / 0.9992 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3145, allocations: 4 kB / 0.9992 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3145, allocations: 4 kB / 0.9992 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3145, allocations: 0 / 0.9992 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.3148, allocations: 397.4 kB / 0.9996 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3149, allocations: 4 kB / 0.9996 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.315, allocations: 31.98 kB / 0.9996 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/0.3153, allocations: 98.42 kB / 0.9997 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.3153, allocations: 12.14 kB / 0.9998 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.3174, allocations: 4.095 MB / 1.004 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3174, allocations: 4 kB / 1.004 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006441/0.3181, allocations: 0.5591 MB / 1.004 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3182, allocations: 120.8 kB / 1.004 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.3182, allocations: 8 kB / 1.004 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.3184, allocations: 7.953 kB / 1.004 GB, free: 496 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.3185, allocations: 24.03 kB / 1.004 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3185, allocations: 8 kB / 1.004 GB, free: 464 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001594/0.3187, allocations: 211.1 kB / 1.005 GB, free: 256 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3187, allocations: 0 / 1.005 GB, free: 256 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004175/0.3191, allocations: 96 kB / 1.005 GB, free: 160 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.3203, allocations: 1.1 MB / 1.006 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008914/0.3212, allocations: 0.602 MB / 1.006 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3212, allocations: 0 / 1.006 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.3218, allocations: 480.2 kB / 1.007 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.3224, allocations: 69.3 kB / 1.007 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.3265, allocations: 3.723 MB / 1.011 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.327, allocations: 0.8386 MB / 1.011 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000265/0.3272, allocations: 58.92 kB / 1.011 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.3274, allocations: 111.4 kB / 1.012 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/0.3274, allocations: 0 / 1.012 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.3477, allocations: 7.108 MB / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.3479, allocations: 203.3 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/2.448, allocations: 4 kB / 1.019 GB, free: 1.789 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)